Move code within flash to allow bootloader
This commit is contained in:
parent
14d77a77df
commit
ed2925a961
3 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue