From 2469356861fb0b4d5c1a4e81a891bfa866876f67 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 22 May 2019 18:27:50 -0400 Subject: [PATCH] stm32f1: Add support for building with a 0x7000 code offset Signed-off-by: Kevin O'Connor --- src/stm32f1/Kconfig | 3 +++ 1 file changed, 3 insertions(+) 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