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