From 87126483700837e71e0e0deb0b5f29f8a95d3f03 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 6 Aug 2019 23:35:45 -0400 Subject: [PATCH] stm32: Fix memory sizing for STM32F405/7 chips Signed-off-by: Kevin O'Connor --- src/stm32/Kconfig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig index 707215ec..cb0fd557 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -54,14 +54,12 @@ config CLOCK_FREQ config FLASH_SIZE hex default 0x10000 if MACH_STM32F103 - default 0x80000 if MACH_STM32F405 || MACH_STM32F407 - default 0x80000 if MACH_STM32F446 + default 0x80000 if MACH_STM32F4 config RAM_SIZE hex default 0x5000 if MACH_STM32F103 - default 0x30000 if MACH_STM32F405 || MACH_STM32F407 - default 0x20000 if MACH_STM32F446 + default 0x20000 if MACH_STM32F4 config STACK_SIZE int