fix hal requirements
This commit is contained in:
parent
fba966056a
commit
c57e17a5ac
5 changed files with 106 additions and 5 deletions
|
|
@ -2,7 +2,8 @@
|
|||
# target
|
||||
######################################
|
||||
TARGET = stm32g0_blinky
|
||||
PART = STM32G030xx # check for pyocd
|
||||
PART = STM32G030xx
|
||||
PYOCD_TARGET = stm32g030f6px
|
||||
|
||||
|
||||
######################################
|
||||
|
|
@ -133,7 +134,7 @@ $(BUILD_DIR):
|
|||
#######################################
|
||||
|
||||
flash: $(BUILD_DIR)/$(TARGET).bin
|
||||
pyocd load --target $(PART) $(BUILD_DIR)/$(TARGET).bin
|
||||
pyocd load --target $(PYOCD_TARGET) $(BUILD_DIR)/$(TARGET).bin
|
||||
|
||||
#######################################
|
||||
# clean up
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue