stm32: Allow STM32F401 boards to use STM32 HID Bootloader (#4461)

Signed-off-by: Henky Prayoga <henky.prayoga@callysta-engineering.com>
This commit is contained in:
Henky Prayoga 2021-07-09 22:20:30 +07:00 committed by GitHub
parent 4c6b790dbf
commit 4802c6d86a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ config STACK_SIZE
###################################################################### ######################################################################
choice choice
prompt "Bootloader offset" if MACH_STM32F207 || MACH_STM32F407 || MACH_STM32F405 || MACH_STM32F446 || MACH_STM32F103 || MACH_STM32F070 prompt "Bootloader offset" if MACH_STM32F207 || MACH_STM32F401 || MACH_STM32F407 || MACH_STM32F405 || MACH_STM32F446 || MACH_STM32F103 || MACH_STM32F070
config STM32_FLASH_START_2000 config STM32_FLASH_START_2000
bool "8KiB bootloader (stm32duino)" if MACH_STM32F103 || MACH_STM32F070 bool "8KiB bootloader (stm32duino)" if MACH_STM32F103 || MACH_STM32F070
config STM32_FLASH_START_5000 config STM32_FLASH_START_5000
@ -156,7 +156,7 @@ choice
config STM32_FLASH_START_800 config STM32_FLASH_START_800
bool "2KiB bootloader (HID Bootloader)" if MACH_STM32F103 bool "2KiB bootloader (HID Bootloader)" if MACH_STM32F103
config STM32_FLASH_START_4000 config STM32_FLASH_START_4000
bool "16KiB bootloader (HID Bootloader)" if MACH_STM32F207 || MACH_STM32F405 || MACH_STM32F407 bool "16KiB bootloader (HID Bootloader)" if MACH_STM32F207 || MACH_STM32F401 || MACH_STM32F405 || MACH_STM32F407
config STM32_FLASH_START_0000 config STM32_FLASH_START_0000
bool "No bootloader" bool "No bootloader"