]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/Common/drivers/Atmel/at91lib/boards/at91sam9xe-ek/at91sam9xe512/sram.icf
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS / Demo / Common / drivers / Atmel / at91lib / boards / at91sam9xe-ek / at91sam9xe512 / 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__   = 0x300000;\r
6 define symbol __ICFEDIT_region_RAM_end__     = 0x307FFF;\r
7 /*-Sizes-*/\r
8 define symbol __ICFEDIT_size_vectors__  = 0x100;\r
9 define symbol __ICFEDIT_size_cstack__   = 0x800;\r
10 define symbol __ICFEDIT_size_svcstack__ = 0x60;\r
11 define symbol __ICFEDIT_size_irqstack__ = 0x60;\r
12 define symbol __ICFEDIT_size_heap__     = 0x0;\r
13 /*-Exports-*/\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_svcstack__;\r
19 export symbol __ICFEDIT_size_irqstack__;\r
20 export symbol __ICFEDIT_size_heap__;\r
21 /**** End of ICF editor section. ###ICF###*/\r
22 \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
26 \r
27 define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };\r
28 define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };\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
31 \r
32 do not initialize  { section .noinit };\r
33 \r
34 place in VEC_region { section .vectors };\r
35 place in RAM_region { section .cstartup, readonly, readwrite, block IRQ_STACK, block SVC_STACK, block CSTACK, block HEAP };\r
36 \r