aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-05-22 18:27:50 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-05-23 13:36:15 -0400
commit2469356861fb0b4d5c1a4e81a891bfa866876f67 (patch)
treea5c66e916390ab7f20b74128011ea99a099a8436 /src
parentedb679b83dd999b149409b433a2080cbffaf55b1 (diff)
downloadkutter-2469356861fb0b4d5c1a4e81a891bfa866876f67.tar.gz
kutter-2469356861fb0b4d5c1a4e81a891bfa866876f67.tar.xz
kutter-2469356861fb0b4d5c1a4e81a891bfa866876f67.zip
stm32f1: Add support for building with a 0x7000 code offset
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/stm32f1/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm32f1/Kconfig b/src/stm32f1/Kconfig
index 49cd6919..c8b04e4c 100644
--- a/src/stm32f1/Kconfig
+++ b/src/stm32f1/Kconfig
@@ -22,6 +22,8 @@ choice
prompt "Bootloader offset"
config STM_FLASH_START_2000
bool "8KiB bootloader (stm32duino)"
+ config STM_FLASH_START_7000
+ bool "28KiB bootloader"
config STM_FLASH_START_0000
bool "No bootloader"
endchoice
@@ -29,6 +31,7 @@ endchoice
config FLASH_START
hex
default 0x2000 if STM_FLASH_START_2000
+ default 0x7000 if STM_FLASH_START_7000
default 0x0000
config USBSERIAL