From a4c31bafb0c86b679c591fc0ab693b4fdef6114e Mon Sep 17 00:00:00 2001 From: kianusch Date: Sat, 20 Jun 2020 19:30:10 +0200 Subject: [PATCH] stm32: Support for 20KiB bootloader offset. (#3008) Signed-off-by: Kianusch Sayah Karadji --- src/stm32/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig index 5d2833fa..4e02798f 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -101,6 +101,8 @@ choice bool "8KiB bootloader (stm32duino)" if MACH_STM32F103 || MACH_STM32F070 config STM32_FLASH_START_4000 bool "16KiB bootloader (HID Bootloader)" if MACH_STM32F405 || MACH_STM32F407 + config STM32_FLASH_START_5000 + bool "20KiB bootloader" if MACH_STM32F103 config STM32_FLASH_START_7000 bool "28KiB bootloader" if MACH_STM32F103 config STM32_FLASH_START_8000 @@ -115,6 +117,7 @@ config FLASH_START default 0x8000800 if STM32_FLASH_START_800 default 0x8002000 if STM32_FLASH_START_2000 default 0x8004000 if STM32_FLASH_START_4000 + default 0x8005000 if STM32_FLASH_START_5000 default 0x8007000 if STM32_FLASH_START_7000 default 0x8008000 if STM32_FLASH_START_8000 default 0x8010000 if STM32_FLASH_START_10000