From a70055a6252dad5b6d3a5fd285d9240c5cb67795 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 9 Aug 2019 20:37:31 -0400 Subject: [PATCH] stm32: Add support for the 32KiB bootloader on the SKR Pro Signed-off-by: Gerrit Sturm Signed-off-by: Kevin O'Connor --- src/stm32/Kconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig index 721f3517..75a6b62b 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -66,11 +66,13 @@ config STACK_SIZE default 512 choice - prompt "Bootloader offset" if MACH_STM32F103 + prompt "Bootloader offset" config STM32_FLASH_START_2000 - bool "8KiB bootloader (stm32duino)" + bool "8KiB bootloader (stm32duino)" if MACH_STM32F103 config STM32_FLASH_START_7000 - bool "28KiB bootloader" + bool "28KiB bootloader" if MACH_STM32F103 + config STM32_FLASH_START_8000 + bool "32KiB bootloader (SKR-PRO)" if MACH_STM32F4 config STM32_FLASH_START_0000 bool "No bootloader" endchoice @@ -78,6 +80,7 @@ config FLASH_START hex default 0x2000 if STM32_FLASH_START_2000 default 0x7000 if STM32_FLASH_START_7000 + default 0x8000 if STM32_FLASH_START_8000 default 0x0000 choice