stm32: Fix memory sizing for STM32F405/7 chips

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-08-06 23:35:45 -04:00
parent 9445e1d555
commit 8712648370
1 changed files with 2 additions and 4 deletions

View File

@ -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