stm32: Allow selecting bootloader size for STM32F446

Signed-off-by: Wilhelm Schuster <ws@rot13.io>
This commit is contained in:
Wilhelm Schuster 2021-05-03 14:56:21 +02:00 committed by KevinOConnor
parent f2c74ec023
commit 1fb091c4fa
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ config STACK_SIZE
######################################################################
choice
prompt "Bootloader offset" if MACH_STM32F207 || MACH_STM32F407 || MACH_STM32F405 || MACH_STM32F103 || MACH_STM32F070
prompt "Bootloader offset" if MACH_STM32F207 || MACH_STM32F407 || MACH_STM32F405 || MACH_STM32F446 || MACH_STM32F103 || MACH_STM32F070
config STM32_FLASH_START_2000
bool "8KiB bootloader (stm32duino)" if MACH_STM32F103 || MACH_STM32F070
config STM32_FLASH_START_5000
@ -143,7 +143,7 @@ choice
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
bool "64KiB bootloader" if MACH_STM32F103 || MACH_STM32F446
config STM32_FLASH_START_800
bool "2KiB bootloader (HID Bootloader)" if MACH_STM32F103