]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4000_IAR/XMC4500_Flash.icf
Rename directories with XMC4500 in their name that now contain XMC4200 and XMC4000...
[freertos] / FreeRTOS / Demo / CORTEX_M4F_Infineon_XMC4000_IAR / XMC4500_Flash.icf
1 /*###ICF### Section handled by ICF editor, don't touch! ****/\r
2 /*-Editor annotation file-*/\r
3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */\r
4 /*-Specials-*/\r
5 define symbol __ICFEDIT_intvec_start__ = 0x0C000000;\r
6 /*-Memory Regions-*/\r
7 define symbol __ICFEDIT_region_ROM_start__   = 0x0C000000;\r
8 define symbol __ICFEDIT_region_ROM_end__     = 0x0C0FFFFF;\r
9 define symbol __ICFEDIT_region_RAM_start__   = 0x10000000;\r
10 define symbol __ICFEDIT_region_RAM_end__     = 0x1000FFFF;\r
11 /*-Sizes-*/\r
12 define symbol __ICFEDIT_size_cstack__   = 0x800;\r
13 define symbol __ICFEDIT_size_heap__     = 0x400;\r
14 /**** End of ICF editor section. ###ICF###*/\r
15 \r
16 define symbol __DRAM1_start__   = 0x20000000;\r
17 define symbol __DRAM1_end__     = 0x20007FFF;\r
18 \r
19 define symbol __DRAM2_start__   = 0x30000000;\r
20 define symbol __DRAM2_end__     = 0x30007FFF;\r
21 \r
22 define memory mem with size = 4G;\r
23 define region ROM_region   = mem:[from __ICFEDIT_region_ROM_start__   to __ICFEDIT_region_ROM_end__];\r
24 define region RAM_region   = mem:[from __ICFEDIT_region_RAM_start__   to __ICFEDIT_region_RAM_end__];\r
25 define region DRAM1_region = mem:[from  __DRAM1_start__ to __DRAM1_end__];\r
26 define region DRAM2_region = mem:[from  __DRAM2_start__ to __DRAM2_end__];\r
27 \r
28 define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };\r
29 define block HEAP      with alignment = 8, size = __ICFEDIT_size_heap__     { };\r
30 \r
31 initialize by copy { readwrite };\r
32 do not initialize  { section .noinit };\r
33 \r
34 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };\r
35 \r
36 place in ROM_region  {readonly};\r
37 place in RAM_region  { readwrite,\r
38                        block CSTACK, block HEAP };\r
39 place in DRAM1_region{ section .dram1};\r
40 place in DRAM2_region{ section .dram2};\r
41 \r