A different way of storing the ROM image.
[uccvend-snackrom.git] / ROM2 / memory.x
1 MEMORY
2 { /* we squeeze both page0 and data into the internal 256 bytes of RAM */
3   page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x0080
4   data  (rw)  : ORIGIN = 0x0080, LENGTH = 0x0080
5   text  (rx)  : ORIGIN = 0x8000, LENGTH = 0x8000
6   eeprom(rwx) : ORIGIN = 0xb600, LENGTH = 0x0020
7 }
8
9 /* Setup the stack on the top of the data internal ram (not used).  */
10 PROVIDE (_stack = 0x007f);

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