Debian Codegraph @

platforms/iar/CppUTestTest.icf

raw
1 /*###ICF### Section handled by ICF editor, don't touch! ****/
2 /*-Editor annotation file-*/
3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_1.xml" */
4 /*-Specials-*/
5 define symbol __ICFEDIT_intvec_start__ = 0x00000000;
6 /*-Memory Regions-*/
7 define symbol __ICFEDIT_region_IROM1_start__ = 0x00000080;
8 define symbol __ICFEDIT_region_IROM1_end__ = 0x0009FFFF;
9 define symbol __ICFEDIT_region_IROM2_start__ = 0x0;
10 define symbol __ICFEDIT_region_IROM2_end__ = 0x0;
11 define symbol __ICFEDIT_region_EROM1_start__ = 0x0;
12 define symbol __ICFEDIT_region_EROM1_end__ = 0x0;
13 define symbol __ICFEDIT_region_EROM2_start__ = 0x0;
14 define symbol __ICFEDIT_region_EROM2_end__ = 0x0;
15 define symbol __ICFEDIT_region_EROM3_start__ = 0x0;
16 define symbol __ICFEDIT_region_EROM3_end__ = 0x0;
17 define symbol __ICFEDIT_region_IRAM1_start__ = 0x00100000;
18 define symbol __ICFEDIT_region_IRAM1_end__ = 0x001FFFFF;
19 define symbol __ICFEDIT_region_IRAM2_start__ = 0x0;
20 define symbol __ICFEDIT_region_IRAM2_end__ = 0x0;
21 define symbol __ICFEDIT_region_ERAM1_start__ = 0x0;
22 define symbol __ICFEDIT_region_ERAM1_end__ = 0x0;
23 define symbol __ICFEDIT_region_ERAM2_start__ = 0x0;
24 define symbol __ICFEDIT_region_ERAM2_end__ = 0x0;
25 define symbol __ICFEDIT_region_ERAM3_start__ = 0x0;
26 define symbol __ICFEDIT_region_ERAM3_end__ = 0x0;
27 /*-Sizes-*/
28 define symbol __ICFEDIT_size_cstack__ = 0x600;
29 define symbol __ICFEDIT_size_svcstack__ = 0x100;
30 define symbol __ICFEDIT_size_irqstack__ = 0x100;
31 define symbol __ICFEDIT_size_fiqstack__ = 0x100;
32 define symbol __ICFEDIT_size_undstack__ = 0x100;
33 define symbol __ICFEDIT_size_abtstack__ = 0x100;
34 define symbol __ICFEDIT_size_heap__ = 0x8000;
35 /**** End of ICF editor section. ###ICF###*/
36
37 define memory mem with size = 4G;
38 define region IROM_region = mem:[from __ICFEDIT_region_IROM1_start__ to __ICFEDIT_region_IROM1_end__]
39 | mem:[from __ICFEDIT_region_IROM2_start__ to __ICFEDIT_region_IROM2_end__];
40 define region EROM_region = mem:[from __ICFEDIT_region_EROM1_start__ to __ICFEDIT_region_EROM1_end__]
41 | mem:[from __ICFEDIT_region_EROM2_start__ to __ICFEDIT_region_EROM2_end__]
42 | mem:[from __ICFEDIT_region_EROM3_start__ to __ICFEDIT_region_EROM3_end__];
43 define region IRAM_region = mem:[from __ICFEDIT_region_IRAM1_start__ to __ICFEDIT_region_IRAM1_end__]
44 | mem:[from __ICFEDIT_region_IRAM2_start__ to __ICFEDIT_region_IRAM2_end__];
45 define region ERAM_region = mem:[from __ICFEDIT_region_ERAM1_start__ to __ICFEDIT_region_ERAM1_end__]
46 | mem:[from __ICFEDIT_region_ERAM2_start__ to __ICFEDIT_region_ERAM2_end__]
47 | mem:[from __ICFEDIT_region_ERAM3_start__ to __ICFEDIT_region_ERAM3_end__];
48
49 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
50 define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };
51 define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
52 define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };
53 define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };
54 define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };
55 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
56
57 do not initialize { section .noinit };
58 initialize by copy { readwrite };
59 if (isdefinedsymbol(__USE_DLIB_PERTHREAD))
60 {
61 // Required in a multi-threaded application
62 initialize by copy with packing = none { section __DLIB_PERTHREAD };
63 }
64
65 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
66
67 place in IROM_region { readonly };
68 place in EROM_region { readonly section application_specific_ro };
69 place in IRAM_region { readwrite,
70 block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK,
71 block UND_STACK, block ABT_STACK, block HEAP };
72 place in ERAM_region { readwrite section application_specific_rw };