diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-08-09 20:37:31 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-08-09 20:37:31 -0400 |
commit | a70055a6252dad5b6d3a5fd285d9240c5cb67795 (patch) | |
tree | 5c16291e3470c126247c1cc966e296199d9bade5 | |
parent | 96ff54e1431a54f25b6ceb597454cfff2dfb58c2 (diff) | |
download | kutter-a70055a6252dad5b6d3a5fd285d9240c5cb67795.tar.gz kutter-a70055a6252dad5b6d3a5fd285d9240c5cb67795.tar.xz kutter-a70055a6252dad5b6d3a5fd285d9240c5cb67795.zip |
stm32: Add support for the 32KiB bootloader on the SKR Pro
Signed-off-by: Gerrit Sturm <gsturm16@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | src/stm32/Kconfig | 9 |
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 |