[rtems commit] bsp/lpc176x: Fix memory map

Sebastian Huber sebh at rtems.org
Mon Oct 5 17:34:44 UTC 2020


Module:    rtems
Branch:    master
Commit:    a9995f101d7153acaefd1803bff27b405fd97b50
Changeset: http://git.rtems.org/rtems/commit/?id=a9995f101d7153acaefd1803bff27b405fd97b50

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Oct  5 17:14:33 2020 +0200

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.

---

 bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth | 6 +++---
 1 file 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 7d91d8a..e9e9458 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);



More information about the vc mailing list