1 /*###ICF### Section handled by ICF editor, don't touch! ****/
\r
2 /*-Editor annotation file-*/
\r
3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */
\r
5 define symbol __ICFEDIT_region_RAM_start__ = 0x300000;
\r
6 define symbol __ICFEDIT_region_RAM_end__ = 0x31FFFF;
\r
8 define symbol __ICFEDIT_size_vectors__ = 0x100;
\r
9 define symbol __ICFEDIT_size_cstack__ = 0x400;
\r
10 define symbol __ICFEDIT_size_sysstack__ = 0x60;
\r
11 define symbol __ICFEDIT_size_irqstack__ = 0x60;
\r
12 define symbol __ICFEDIT_size_heap__ = 0x0;
\r
14 export symbol __ICFEDIT_region_RAM_start__;
\r
15 export symbol __ICFEDIT_region_RAM_end__;
\r
16 export symbol __ICFEDIT_size_vectors__;
\r
17 export symbol __ICFEDIT_size_cstack__;
\r
18 export symbol __ICFEDIT_size_sysstack__;
\r
19 export symbol __ICFEDIT_size_irqstack__;
\r
20 export symbol __ICFEDIT_size_heap__;
\r
21 /**** End of ICF editor section. ###ICF###*/
\r
23 define memory mem with size = 4G;
\r
24 define region VEC_region = mem:[from __ICFEDIT_region_RAM_start__ size __ICFEDIT_size_vectors__];
\r
25 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__+__ICFEDIT_size_vectors__ to __ICFEDIT_region_RAM_end__];
\r
27 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
\r
28 define block SYS_STACK with alignment = 8, size = __ICFEDIT_size_sysstack__ { };
\r
29 define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
\r
30 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
\r
32 initialize by copy with packing=none { readwrite };
\r
33 do not initialize { readonly section .noinit };
\r
35 place in VEC_region { section .vectors };
\r
36 place in RAM_region { readonly };
\r
37 place in RAM_region { section .cstartup };
\r
38 place in RAM_region { readwrite, block IRQ_STACK, block SYS_STACK, block CSTACK, block HEAP };
\r