blob: 0286a5a2c57d80a7a092c4fdde851abc1888f2db [file] [log] [blame]
oliverschmidtf3fb0c92006-04-09 16:32:44 +00001MEMORY {
2 ZP: start = $0080, size = $001A, file = "", define = yes;
3 BUFFER: start = $0800, size = $0400, file = "";
4 HEADER: start = $0000, size = $0004, file = "contiki";
5 RAM: start = $0C00, size = $8A00, file = "contiki";
6 PIC: start = $0000, size = $FFFF, file = "contiki";
7 TMP: start = $0000, size = $FFFF, file = "contiki";
8 LC: start = $D000, size = $1000, file = "contiki";
9}
10SEGMENTS {
11 ZEROPAGE: load = ZP, type = zp;
12 UIPBUF: load = BUFFER, type = bss;
13 EXEHDR: load = HEADER, type = ro;
14 STARTUP: load = RAM, type = ro, define = yes;
15 CONTIKI: load = RAM, type = ro;
16 RODATA: load = RAM, type = ro;
17 DATA: load = RAM, type = rw;
18 BSS: load = RAM, type = bss, define = yes;
19 BOOT: load = PIC, type = ro, define = yes;
20 INIT: load = TMP, run = RAM, type = ro, define = yes;
21 CODE: load = LC, type = ro, define = yes;
22}
23FEATURES {
24 CONDES: segment = INIT,
25 type = constructor,
26 label = __CONSTRUCTOR_TABLE__,
27 count = __CONSTRUCTOR_COUNT__;
28 CONDES: segment = RODATA,
29 type = destructor,
30 label = __DESTRUCTOR_TABLE__,
31 count = __DESTRUCTOR_COUNT__;
32 CONDES: segment = RODATA,
33 type = interruptor,
34 label = __INTERRUPTOR_TABLE__,
35 count = __INTERRUPTOR_COUNT__;
36}
37SYMBOLS {
38 __STACKSIZE__ = $200;
39}