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