aboutsummaryrefslogtreecommitdiff
path: root/stm/stm32f405.ld
diff options
context:
space:
mode:
authorDamien George2014-01-29 19:21:17 +0000
committerDamien George2014-01-29 19:21:17 +0000
commit01fa4a91643702eb62645346991a41e52c1c8414 (patch)
treec19277cd1f61a6553b79d3e7a3163d2cf835fdb6 /stm/stm32f405.ld
parent0347fbd2d541d6ede7d281e0b2f8c79d56c5f8be (diff)
stm: Fix gccollect ram range.
Diffstat (limited to 'stm/stm32f405.ld')
-rw-r--r--stm/stm32f405.ld5
1 files changed, 3 insertions, 2 deletions
diff --git a/stm/stm32f405.ld b/stm/stm32f405.ld
index 5cef201a9..6c29a681c 100644
--- a/stm/stm32f405.ld
+++ b/stm/stm32f405.ld
@@ -19,8 +19,9 @@ _minimum_heap_size = 16K;
/* top end of the stack */
_estack = ORIGIN(RAM) + LENGTH(RAM);
-_ram_end = 0x20020000;
-_heap_end = 0x2001c000;
+/* RAM extents for the garbage collector */
+_ram_end = ORIGIN(RAM) + LENGTH(RAM);
+_heap_end = 0x2001c000; /* tunable */
/* define output sections */
SECTIONS