summaryrefslogtreecommitdiff
path: root/src/stm/altos-ram.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm/altos-ram.ld')
-rw-r--r--src/stm/altos-ram.ld4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stm/altos-ram.ld b/src/stm/altos-ram.ld
index b8fffedc..1143a08b 100644
--- a/src/stm/altos-ram.ld
+++ b/src/stm/altos-ram.ld
@@ -19,8 +19,6 @@ MEMORY {
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K
}
-C_STACK_SIZE = 512;
-
INCLUDE registers.ld
SECTIONS {
@@ -59,7 +57,7 @@ SECTIONS {
__bss_end__ = .;
} >ram
- PROVIDE(__stack__ = . + C_STACK_SIZE);
+ PROVIDE(__stack__ = ORIGIN(ram) + LENGTH(ram));
PROVIDE(end = .);
}