projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/stm: Force STM stack to start at the top of RAM
[fw/altos]
/
src
/
stm
/
altos.ld
diff --git
a/src/stm/altos.ld
b/src/stm/altos.ld
index 7fede5589206ec5a3cd000cfc4dd4f904fb1c8d0..f5a84f4c2c658931dd409351b4c1b8e1c1a90ec6 100644
(file)
--- a/
src/stm/altos.ld
+++ b/
src/stm/altos.ld
@@
-23,7
+23,6
@@
MEMORY {
INCLUDE registers.ld
EXTERN (stm_interrupt_vector)
-C_STACK_SIZE = 512;
SECTIONS {
. = ORIGIN(rom);
@@
-62,7
+61,7
@@
SECTIONS {
__bss_end__ = .;
} >ram
- PROVIDE(__stack__ =
. + C_STACK_SIZE
);
+ PROVIDE(__stack__ =
ORIGIN(ram) + LENGTH(ram)
);
PROVIDE(end = .);
}