For some reason it is not needed now
@ -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 /dev/stlinkv1_4 main.bin 0x08000000
st-flash write main.bin 0x08000000
.PHONY: flash