]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/Common/drivers/Atmel/at91lib/boards/at91sam9xe-ek/at91sam9xe512/sdram.icf
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS / Demo / Common / drivers / Atmel / at91lib / boards / at91sam9xe-ek / at91sam9xe512 / sdram.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_SDRAM_start__ = 0x20000000;\r
6 define symbol __ICFEDIT_region_SDRAM_end__   = 0x21FFFFFF;\r
7 define symbol __ICFEDIT_region_RAM_start__   = 0x300000;\r
8 define symbol __ICFEDIT_region_RAM_end__     = 0x307FFF;\r
9 /*-Sizes-*/\r
10 define symbol __ICFEDIT_size_startup__  = 0x100;\r
11 define symbol __ICFEDIT_size_vectors__  = 0x100;\r
12 define symbol __ICFEDIT_size_cstack__   = 0x1000;\r
13 define symbol __ICFEDIT_size_svcstack__ = 0x60;\r
14 define symbol __ICFEDIT_size_irqstack__ = 0x60;\r
15 define symbol __ICFEDIT_size_heap__     = 0x0;\r
16 /*-Exports-*/\r
17 export symbol __ICFEDIT_region_SDRAM_start__;\r
18 export symbol __ICFEDIT_region_SDRAM_end__;\r
19 export symbol __ICFEDIT_region_RAM_start__;\r
20 export symbol __ICFEDIT_region_RAM_end__;\r
21 export symbol __ICFEDIT_size_startup__;\r
22 export symbol __ICFEDIT_size_vectors__;\r
23 export symbol __ICFEDIT_size_cstack__;\r
24 export symbol __ICFEDIT_size_svcstack__;\r
25 export symbol __ICFEDIT_size_irqstack__;\r
26 export symbol __ICFEDIT_size_heap__;\r
27 /**** End of ICF editor section. ###ICF###*/\r
28 \r
29 define memory mem with size = 4G;\r
30 define region STA_region =   mem:[from __ICFEDIT_region_SDRAM_start__ size __ICFEDIT_size_startup__];\r
31 define region SDRAM_region = mem:[from __ICFEDIT_region_SDRAM_start__+__ICFEDIT_size_startup__ to __ICFEDIT_region_SDRAM_end__];\r
32 define region VEC_region =   mem:[from __ICFEDIT_region_RAM_start__ size __ICFEDIT_size_vectors__];\r
33 define region RAM_region =   mem:[from __ICFEDIT_region_RAM_start__+__ICFEDIT_size_vectors__ to __ICFEDIT_region_RAM_end__];\r
34 \r
35 define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };\r
36 define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };\r
37 define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };\r
38 define block HEAP      with alignment = 8, size = __ICFEDIT_size_heap__     { };\r
39 \r
40 initialize by copy { section .vectors };\r
41 do not initialize  { section .noinit };\r
42 \r
43 place in STA_region { section .cstartup };\r
44 place in VEC_region { section .vectors };\r
45 place in SDRAM_region { readonly, readwrite, block IRQ_STACK, block SVC_STACK, block CSTACK, block HEAP };\r
46 \r