From 5778a9943a7d48ffba387934593cdf44d4f950b9 Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Fri, 25 Jul 2014 08:22:59 -0700 Subject: [PATCH] stm32f07x: increase RAM space to 16kB Increase RAM_SIZE for all stm32f07x chips to 16kB to use all of on chip SRAM. BUG=none BRANCH=none TEST=added 4000 byte array, verified in ec.RO.map that we are using the new RAM space (bss size over 0x2000), loaded on samus and verified that we could read and write to the 4000 byte array. Change-Id: Ided3ce7c5fb353c9c37a01e6ed64f03786717e9b Signed-off-by: Alec Berg Reviewed-on: https://chromium-review.googlesource.com/209847 Reviewed-by: Randall Spangler Reviewed-by: Vic Yang --- chip/stm32/config-stm32f07x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chip/stm32/config-stm32f07x.h b/chip/stm32/config-stm32f07x.h index 843f8886bf..380cf51306 100644 --- a/chip/stm32/config-stm32f07x.h +++ b/chip/stm32/config-stm32f07x.h @@ -15,7 +15,7 @@ #define CONFIG_FLASH_WRITE_IDEAL_SIZE 0x0002 #define CONFIG_RAM_BASE 0x20000000 -#define CONFIG_RAM_SIZE 0x00002000 +#define CONFIG_RAM_SIZE 0x00004000 /* Size of one firmware image in flash */ #define CONFIG_FW_IMAGE_SIZE (64 * 1024)