stm32: Add support for 48KiB bootloaders

Reported by @mks-viva.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-02-20 09:37:43 -05:00
parent 0a813f2805
commit c4edc7d946
1 changed files with 3 additions and 0 deletions

View File

@ -128,6 +128,8 @@ choice
bool "28KiB bootloader" if MACH_STM32F103
config STM32_FLASH_START_8800
bool "34KiB bootloader (Chitu v6 Bootloader)" if MACH_STM32F103
config STM32_FLASH_START_C000
bool "48KiB bootloader (MKS Robin Nano V3)" if MACH_STM32F407
config STM32_FLASH_START_10000
bool "64KiB bootloader (Alfawise)" if MACH_STM32F103
config STM32_FLASH_START_800
@ -150,6 +152,7 @@ config FLASH_START
default 0x8007000 if STM32_FLASH_START_7000
default 0x8008000 if STM32_FLASH_START_8000
default 0x8008800 if STM32_FLASH_START_8800
default 0x800C000 if STM32_FLASH_START_C000
default 0x8010000 if STM32_FLASH_START_10000
default 0x8000000