From 4802c6d86a4510172d630ffdce02434369138037 Mon Sep 17 00:00:00 2001 From: Henky Prayoga Date: Fri, 9 Jul 2021 22:20:30 +0700 Subject: [PATCH] stm32: Allow STM32F401 boards to use STM32 HID Bootloader (#4461) Signed-off-by: Henky Prayoga --- src/stm32/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig index be810b88..39aab091 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -135,7 +135,7 @@ config STACK_SIZE ###################################################################### 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 bool "8KiB bootloader (stm32duino)" if MACH_STM32F103 || MACH_STM32F070 config STM32_FLASH_START_5000 @@ -156,7 +156,7 @@ choice config STM32_FLASH_START_800 bool "2KiB bootloader (HID Bootloader)" if MACH_STM32F103 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 bool "No bootloader"