git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Final workings
[uccvend-snackrom.git]
/
ROM2
/
memory.x
diff --git
a/ROM2/memory.x
b/ROM2/memory.x
index
3546f0a
..
843cbbf
100644
(file)
--- a/
ROM2/memory.x
+++ b/
ROM2/memory.x
@@
-11,10
+11,11
@@
Foundation; either version 2, or (at your option) any later version.
MEMORY
{
MEMORY
{
- page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x00ff /* 256 bytes internal RAM */
+ /* we squeeze both page0 and data into the internal 256 bytes of RAM */
+ page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x007f
+ data (rw) : ORIGIN = 0x0080, LENGTH = 0x007f
text (rx) : ORIGIN = 0x8000, LENGTH = 0x7fff
text (rx) : ORIGIN = 0x8000, LENGTH = 0x7fff
- data (rw) : ORIGIN = 0x0800, LENGTH = 0x07ff /* 2k external SRAM */
}
/* Setup the stack on the top of the data internal ram (not used). */
}
/* Setup the stack on the top of the data internal ram (not used). */
-PROVIDE (_stack = 0x0
100
-1);
+PROVIDE (_stack = 0x0
07f
-1);
UCC
git Repository :: git.ucc.asn.au