aboutsummaryrefslogtreecommitdiff
path: root/stm/stm32f405.ld
diff options
context:
space:
mode:
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