fix hal requirements

This commit is contained in:
Ajit Ananthadevan 2025-08-23 11:49:01 +10:00
parent fba966056a
commit c57e17a5ac
5 changed files with 106 additions and 5 deletions

View file

@ -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