projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/lpc: Get USB working
[fw/altos]
/
src
/
lpc
/
altos.ld
diff --git
a/src/lpc/altos.ld
b/src/lpc/altos.ld
index 7a99e66b959c7caf791faeaedacefd2a8847d695..bcfba1ea17955e4038772a820d42778f9813cfb9 100644
(file)
--- a/
src/lpc/altos.ld
+++ b/
src/lpc/altos.ld
@@
-17,7
+17,8
@@
MEMORY {
rom (rx) : ORIGIN = 0x00000000, LENGTH = 32K
MEMORY {
rom (rx) : ORIGIN = 0x00000000, LENGTH = 32K
- ram (!w) : ORIGIN = 0x10000000, LENGTH = 4K
+ ram (!w) : ORIGIN = 0x10000000, LENGTH = 4K - 512
+ stack (!w) : ORIGIN = 0x10000000 + 4K - 512, LENGTH = 512
}
INCLUDE registers.ld
}
INCLUDE registers.ld
@@
-63,7
+64,7
@@
SECTIONS {
__bss_end__ = .;
} >ram
__bss_end__ = .;
} >ram
- PROVIDE(__stack__ = ORIGIN(
ram) + LENGTH(ram
));
+ PROVIDE(__stack__ = ORIGIN(
stack) + LENGTH(stack
));
PROVIDE(end = .);
}
PROVIDE(end = .);
}