X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=ROM2%2Fmemory.x;h=f1127cf468b79dcc46f3f0721ef5cc7e34b9b717;hb=50846c77b09f7acf447be6d518087378340879f8;hp=bb70544c88ea35253cedfad5e7996db458510a1e;hpb=0435cdd3595f95218f4518885cc5384e9bdc9672;p=uccvend-snackrom.git diff --git a/ROM2/memory.x b/ROM2/memory.x index bb70544..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 */ +{ /* 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);