]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_A5_SAMA5D4x_EK_IAR/AtmelFiles/libboard_sama5d4x-ek/resources/ewarm/sama5d4x/sram.icf
1d3dd666cad50edf431c3a1da0e9c7671ce9cfdf
[freertos] / FreeRTOS / Demo / CORTEX_A5_SAMA5D4x_EK_IAR / AtmelFiles / libboard_sama5d4x-ek / resources / ewarm / sama5d4x / sram.icf
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
4 /*-Memory Regions-*/\r
5 define symbol __ICFEDIT_region_RAM_start__ = 0x200000;\r
6 define symbol __ICFEDIT_region_RAM_end__   = 0x21FFFF;\r
7 /*-Sizes-*/\r
8 define symbol __ICFEDIT_size_vectors__  = 0x100;\r
9 define symbol __ICFEDIT_size_cstack__   = 0x900;\r
10 define symbol __ICFEDIT_size_irqstack__ = 0x400;\r
11 define symbol __ICFEDIT_size_fiqstack__ = 0x60;\r
12 define symbol __ICFEDIT_size_abtstack__ = 0x60;\r
13 define symbol __ICFEDIT_size_undstack__ = 0x40;\r
14 \r
15 define symbol __ICFEDIT_size_heap__     = 0x0;\r
16 /*-Exports-*/\r
17 export symbol __ICFEDIT_region_RAM_start__;\r
18 export symbol __ICFEDIT_region_RAM_end__;\r
19 export symbol __ICFEDIT_size_vectors__;\r
20 export symbol __ICFEDIT_size_cstack__;\r
21 export symbol __ICFEDIT_size_irqstack__;\r
22 export symbol __ICFEDIT_size_fiqstack__;\r
23 \r
24 export symbol __ICFEDIT_size_heap__;\r
25 /**** End of ICF editor section. ###ICF###*/\r
26 \r
27 define memory mem with size = 4G;\r
28 define region VEC_region = mem:[from __ICFEDIT_region_RAM_start__ size __ICFEDIT_size_vectors__];\r
29 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__+__ICFEDIT_size_vectors__ to __ICFEDIT_region_RAM_end__];\r
30 \r
31 define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };\r
32 define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };\r
33 define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };\r
34 define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };\r
35 define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };\r
36 define block HEAP      with alignment = 8, size = __ICFEDIT_size_heap__     { };\r
37 \r
38 initialize by copy with packing=none { readwrite };\r
39 do not initialize  { readonly section .noinit };\r
40 \r
41 place in VEC_region { section .vectors };\r
42 place in RAM_region { readonly };\r
43 place in RAM_region { section .cstartup };\r
44 place in RAM_region { readwrite, block IRQ_STACK, block FIQ_STACK, block ABT_STACK, block UND_STACK, block CSTACK, block HEAP };\r
45 \r
46 \r