A little sanity checker.
[uccvend-snackrom.git] / ROM2 / memory.x
index f33b3a8..f1127cf 100644 (file)
@@ -1,10 +1,10 @@
 MEMORY
-{
-  /* 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
+{ /* we squeeze both page0 and data into the internal 256 bytes of RAM */
+  page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x0080
+  data  (rw)  : ORIGIN = 0x0080, LENGTH = 0x0080
+  text  (rx)  : ORIGIN = 0x8000, LENGTH = 0x8000
+  eeprom(rwx) : ORIGIN = 0xb600, LENGTH = 0x0020
 }
 
 /* Setup the stack on the top of the data internal ram (not used).  */
-PROVIDE (_stack = 0x007f-1);
+PROVIDE (_stack = 0x007f);

UCC git Repository :: git.ucc.asn.au