diff --git a/Makefile b/Makefile index 20c4f2a..745a7a7 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,6 @@ CPU_FLAGS := -mthumb -mcpu=cortex-m3 -msoft-float -mfix-cortex-m3-ldrd arm-none-eabi-objcopy -Obinary $*.elf $*.bin flash: main.bin - st-flash write main.bin 0x08000000 + st-flash --reset write main.bin 0x08000000 .PHONY: flash