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:
parent
4c6b790dbf
commit
4802c6d86a
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue