stm32: Only prompt for a bootloader on stm32f103 and stm32f407

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-09-18 12:11:52 -04:00
parent 9e2c17f468
commit 626cb71428
1 changed files with 2 additions and 2 deletions

View File

@ -76,13 +76,13 @@ config STACK_SIZE
default 512 default 512
choice choice
prompt "Bootloader offset" prompt "Bootloader offset" if MACH_STM32F407 || MACH_STM32F103
config STM32_FLASH_START_2000 config STM32_FLASH_START_2000
bool "8KiB bootloader (stm32duino)" if MACH_STM32F103 bool "8KiB bootloader (stm32duino)" if MACH_STM32F103
config STM32_FLASH_START_7000 config STM32_FLASH_START_7000
bool "28KiB bootloader" if MACH_STM32F103 bool "28KiB bootloader" if MACH_STM32F103
config STM32_FLASH_START_8000 config STM32_FLASH_START_8000
bool "32KiB bootloader (SKR-PRO)" if MACH_STM32F4 bool "32KiB bootloader (SKR-PRO)" if MACH_STM32F407
config STM32_FLASH_START_0000 config STM32_FLASH_START_0000
bool "No bootloader" bool "No bootloader"
endchoice endchoice