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

@ -42,9 +42,5 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = stm32f405rg
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

View File

@ -46,9 +46,5 @@ FREERTOS_PORT = ARM_CM0
JLINK_DEVICE = stm32f070rb
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

View File

@ -47,9 +47,5 @@ FREERTOS_PORT = ARM_CM0
JLINK_DEVICE = stm32f072rb
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

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

View File

@ -46,9 +46,5 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = stm32f303vc
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

View File

@ -42,9 +42,5 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = stm32f407vg
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

View File

@ -42,9 +42,5 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = stm32f411ve
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

View File

@ -46,9 +46,5 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = stm32f41zx
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

View File

@ -41,9 +41,5 @@ INC += \
VENDOR = st
CHIP_FAMILY = synopsys
# 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

View File

@ -40,9 +40,5 @@ INC += \
VENDOR = st
CHIP_FAMILY = synopsys
# 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