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
|
|
@ -1 +1 @@
|
|||
319
|
||||
321
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
MEMORY
|
||||
{
|
||||
flash (rx) : ORIGIN = 0x08000000, LENGTH = 64K
|
||||
flash (rx) : ORIGIN = 0x08000800, LENGTH = 62K
|
||||
sram (xrw) : ORIGIN = 0x20000000, LENGTH = 20K
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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