aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stm32/Kconfig9
1 files 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