From 741fe4708895d8289e1ea91d4ffd856d5c725918 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 19 Nov 2019 16:02:50 +0100 Subject: bsp/lpc32xx: Fix linker command file --- bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore index b79447f98d..2459da2557 100644 --- a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore +++ b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore @@ -38,7 +38,8 @@ MEMORY { RAM_INT : ORIGIN = 0x08000000, LENGTH = 256k RAM_MMU : ORIGIN = 0x80000000, LENGTH = 16k /* SDRAM on DYCS0 */ - RAM_EXT : ORIGIN = 0x80004000, LENGTH = 64M - 16k /* SDRAM on DYCS0 */ + RAM_SCRATCH : ORIGIN = 0x80004000, LENGTH = 4k /* SDRAM on DYCS0 */ + RAM_EXT : ORIGIN = 0x80004000, LENGTH = 64M - 20k /* SDRAM on DYCS0 */ ROM_EXT : ORIGIN = 0xe0000000, LENGTH = 2M /* NOR flash on CS0 */ } @@ -60,6 +61,8 @@ REGION_ALIAS ("REGION_STACK", RAM_INT); REGION_ALIAS ("REGION_NOCACHE", RAM_INT); REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM_INT); +lpc32xx_scratch_area = ORIGIN (RAM_SCRATCH); + bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024; bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M; -- cgit v1.2.3