Reset MCU when flashing

timer_driven
LEdoian 3 years ago
parent c6ce2617d2
commit 1b84426f04

@ -13,6 +13,6 @@ CPU_FLAGS := -mthumb -mcpu=cortex-m3 -msoft-float -mfix-cortex-m3-ldrd
arm-none-eabi-objcopy -Obinary $*.elf $*.bin arm-none-eabi-objcopy -Obinary $*.elf $*.bin
flash: main.bin flash: main.bin
st-flash write main.bin 0x08000000 st-flash --reset write main.bin 0x08000000
.PHONY: flash .PHONY: flash

Loading…
Cancel
Save