X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2Fmemory.x;h=f1127cf468b79dcc46f3f0721ef5cc7e34b9b717;hb=3feed12913e882325604e9633a1b9035ccf305d1;hp=f33b3a8862ad5344f45c174910acb4d591d2d924;hpb=41ad37ba6d86ccc4f8f720cb09f7891ae166cb38;p=uccvend-snackrom.git diff --git a/ROM2/memory.x b/ROM2/memory.x index f33b3a8..f1127cf 100644 --- a/ROM2/memory.x +++ b/ROM2/memory.x @@ -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);