From 90970f9f7a5b9198219356e6c7b2f3f10aceac5a Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Wed, 18 May 2022 14:29:14 -0400 Subject: [PATCH] lpc176x: reduce ram size in kconfig This moves the stack so that it is located in an area of SRAM not modified by the system boot rom. Signed-off-by: Eric Callahan --- src/lpc176x/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpc176x/Kconfig b/src/lpc176x/Kconfig index d0a18fa..4fac778 100644 --- a/src/lpc176x/Kconfig +++ b/src/lpc176x/Kconfig @@ -47,7 +47,7 @@ config RAM_START config RAM_SIZE hex - default 0x7fe0 # (0x8000 - 32) - top 32 bytes used by IAP functions + default 0x7f20 # (0x8000 - 224) places stack end at a location not used by boot rom config STACK_SIZE int