summaryrefslogtreecommitdiff
path: root/bsps/lm32
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-14 21:36:09 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-04 05:52:28 +0100
commitffa11531700fca97a9be177bac54562de385401f (patch)
treebaebbf0a9c8f24ba65716823d7b3618709659a41 /bsps/lm32
parentc477d927e8578adfb35a77ff39542b96da7c2a37 (diff)
bsps: Add RamEnd to linker command files
Update #3838.
Diffstat (limited to 'bsps/lm32')
-rw-r--r--bsps/lm32/lm32_evr/start/linkcmds1
-rw-r--r--bsps/lm32/milkymist/start/linkcmds1
2 files changed, 2 insertions, 0 deletions
diff --git a/bsps/lm32/lm32_evr/start/linkcmds b/bsps/lm32/lm32_evr/start/linkcmds
index c89940dd1c..a4b204d5eb 100644
--- a/bsps/lm32/lm32_evr/start/linkcmds
+++ b/bsps/lm32/lm32_evr/start/linkcmds
@@ -11,6 +11,7 @@ STARTUP(start.o)
*/
RamBase = DEFINED(RamBase) ? RamBase : 0x08000000;
RamSize = DEFINED(RamSize) ? RamSize : 32M;
+RamEnd = RamBase + RamSize;
HeapSize = DEFINED(HeapSize) ? HeapSize : 2M;
MEMORY {
diff --git a/bsps/lm32/milkymist/start/linkcmds b/bsps/lm32/milkymist/start/linkcmds
index 28779a80a8..c5ca1751cf 100644
--- a/bsps/lm32/milkymist/start/linkcmds
+++ b/bsps/lm32/milkymist/start/linkcmds
@@ -11,6 +11,7 @@ STARTUP(start.o)
*/
RamBase = DEFINED(RamBase) ? RamBase : 0x40000000;
RamSize = DEFINED(RamSize) ? RamSize : 128M;
+RamEnd = RamBase + RamSize;
HeapSize = DEFINED(HeapSize) ? HeapSize : 92M;
MEMORY {