diff --git a/stm32f103c8t6/build_number.txt b/stm32f103c8t6/build_number.txt index 9b5c454..3ae0b93 100644 --- a/stm32f103c8t6/build_number.txt +++ b/stm32f103c8t6/build_number.txt @@ -1 +1 @@ -319 +321 diff --git a/stm32f103c8t6/ld/stm32f103c8t6_flash.ld b/stm32f103c8t6/ld/stm32f103c8t6_flash.ld index 02dbe52..e8184b5 100644 --- a/stm32f103c8t6/ld/stm32f103c8t6_flash.ld +++ b/stm32f103c8t6/ld/stm32f103c8t6_flash.ld @@ -1,6 +1,6 @@ MEMORY { - flash (rx) : ORIGIN = 0x08000000, LENGTH = 64K + flash (rx) : ORIGIN = 0x08000800, LENGTH = 62K sram (xrw) : ORIGIN = 0x20000000, LENGTH = 20K } diff --git a/stm32f103c8t6/makefile b/stm32f103c8t6/makefile index 58cec7c..5efe1d6 100644 --- a/stm32f103c8t6/makefile +++ b/stm32f103c8t6/makefile @@ -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: