summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-05 17:14:33 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-05 19:34:10 +0200
commita9995f101d7153acaefd1803bff27b405fd97b50 (patch)
tree7af683a694808c40667fc3b7a5b760c64081fc26
parentbuild: Add testopts.h to configure script (diff)
downloadrtems-a9995f101d7153acaefd1803bff27b405fd97b50.tar.bz2
bsp/lpc176x: Fix memory map
Due to the static allocation of operating system resources the .bss section needs more space than the .work section. Close #4117.
-rw-r--r--bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth b/bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth
index 7d91d8a5ef..e9e945863f 100644
--- a/bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth
+++ b/bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth
@@ -19,9 +19,9 @@ REGION_ALIAS ("REGION_FAST_TEXT", RAM_INT);
REGION_ALIAS ("REGION_FAST_TEXT_LOAD", ROM_INT);
REGION_ALIAS ("REGION_FAST_DATA", RAM_INT);
REGION_ALIAS ("REGION_FAST_DATA_LOAD", ROM_INT);
-REGION_ALIAS ("REGION_BSS", RAM_AHB1);
-REGION_ALIAS ("REGION_WORK", RAM_INT);
-REGION_ALIAS ("REGION_STACK", RAM_INT);
+REGION_ALIAS ("REGION_BSS", RAM_INT);
+REGION_ALIAS ("REGION_WORK", RAM_AHB1);
+REGION_ALIAS ("REGION_STACK", RAM_AHB1);
REGION_ALIAS ("REGION_ETH", RAM_AHB2);
REGION_ALIAS ("REGION_NOCACHE", RAM_INT);
REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM_INT);