Move code within flash to allow bootloader

This commit is contained in:
fruchti 2021-04-04 20:27:18 +02:00
parent 14d77a77df
commit ed2925a961
3 changed files with 3 additions and 3 deletions

View file

@ -111,7 +111,7 @@ incrementalbuild: $(BUILD_TARGETS)
.PHONY: program
program: $(BUILD_DIR)/$(PROJECT).bin
@#if ps -e | grep openocd ; then arm-none-eabi-gdb -batch -x flash.gdb ; else st-flash --reset write $(BUILD_DIR)/$(PROJECT).bin 0x8000000 ; fi
st-flash --reset write $(BUILD_DIR)/$(PROJECT).bin 0x08000000
st-flash --reset write $(BUILD_DIR)/$(PROJECT).bin 0x08000800
.PHONY: clean
clean: