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>
This commit is contained in:
Kevin O'Connor 2019-08-09 20:37:31 -04:00
parent 96ff54e143
commit a70055a625
1 changed files with 6 additions and 3 deletions

View File

@ -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