clean up flash-stlink

This commit is contained in:
hathach
2020-01-10 15:09:59 +07:00
parent 67d88a8348
commit 04cf337b79
10 changed files with 10 additions and 50 deletions

View File

@@ -45,9 +45,5 @@ FREERTOS_PORT = ARM_CM3
JLINK_DEVICE = stm32f207zg
JLINK_IF = swd
# Path to STM32 Cube Programmer CLI, should be added into system path
STM32Prog = STM32_Programmer_CLI
# flash target using on-board stlink
flash: $(BUILD)/$(BOARD)-firmware.elf
$(STM32Prog) --connect port=swd --write $< --go
flash: flash-stlink