aboutsummaryrefslogtreecommitdiff
path: root/lib/lm3s
diff options
context:
space:
mode:
authorGareth McMullin2012-01-07 17:03:02 +1300
committerPiotr Esden-Tempski2012-02-12 15:00:09 -0800
commit03e44e91e31a5c26b82a5d8be7de91d489bb7a87 (patch)
tree13104bd43a25962564087d2579de7a21892e9e6c /lib/lm3s
parente11185d47d0a2fea6d2782761edd5fd489541512 (diff)
Linker scripts provide stack pointer at the top of RAM.
Thanks to Tomaz Solc.
Diffstat (limited to 'lib/lm3s')
-rw-r--r--lib/lm3s/libopencm3_lm3s.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lm3s/libopencm3_lm3s.ld b/lib/lm3s/libopencm3_lm3s.ld
index ca9d35f..87c940a 100644
--- a/lib/lm3s/libopencm3_lm3s.ld
+++ b/lib/lm3s/libopencm3_lm3s.ld
@@ -65,5 +65,5 @@ SECTIONS
end = .;
}
-PROVIDE(_stack = 0x20000800);
+PROVIDE(_stack = ORIGIN(ram) + LENGTH(ram));