blob: 2e8c07d773b27bb0e9ab9f71f9e8a1d97cc11739 [file] [log] [blame]
MEMORY {
ZP: start = $0080, size = $001A, file = "", define = yes;
BUFFER: start = $0800, size = $0400, file = "";
HEADER: start = $0000, size = $0004, file = "contiki";
RAM: start = $0C00, size = $8A00, file = "contiki";
PIC: start = $0000, size = $FFFF, file = "contiki";
TMP: start = $0000, size = $FFFF, file = "contiki";
LC: start = $D400, size = $0C00, file = "contiki";
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
UIPBUF: load = BUFFER, type = bss;
EXEHDR: load = HEADER, type = ro;
STARTUP: load = RAM, type = ro, define = yes;
CONTIKI: load = RAM, type = ro;
RODATA: load = RAM, type = ro;
DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss, define = yes;
BOOT: load = PIC, type = ro, define = yes;
INIT: load = TMP, run = RAM, type = ro, define = yes;
CODE: load = LC, type = ro, define = yes;
}
FEATURES {
CONDES: segment = INIT,
type = constructor,
label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__;
CONDES: segment = RODATA,
type = destructor,
label = __DESTRUCTOR_TABLE__,
count = __DESTRUCTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0100;
__UIP_SIZE__ = $0000;
}