]> git.sur5r.net Git - freertos/blob - Demo/ARM9_STR91X_IAR/STR91x_FLASH.icf
Start to re-arrange files to include FreeRTOS+ in main download.
[freertos] / Demo / ARM9_STR91X_IAR / STR91x_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\a_v1_0.xml" */\r
4 /*-Specials-*/\r
5 define symbol __ICFEDIT_intvec_start__ = 0x00000000;\r
6 /*-Memory Regions-*/\r
7 define symbol __ICFEDIT_region_ROM_start__ = 0x00000178;\r
8 define symbol __ICFEDIT_region_ROM_end__   = 0x0007FFFF;\r
9 define symbol __ICFEDIT_region_RAM_start__ = 0x04000000;\r
10 define symbol __ICFEDIT_region_RAM_end__   = 0x04017FFF;\r
11 /*-Sizes-*/\r
12 define symbol __ICFEDIT_size_cstack__   = 0x200;\r
13 define symbol __ICFEDIT_size_svcstack__ = 0x200;\r
14 define symbol __ICFEDIT_size_irqstack__ = 0x200;\r
15 define symbol __ICFEDIT_size_fiqstack__ = 0x10;\r
16 define symbol __ICFEDIT_size_undstack__ = 0x10;\r
17 define symbol __ICFEDIT_size_abtstack__ = 0x10;\r
18 define symbol __ICFEDIT_size_heap__     = 0x4;\r
19 /**** End of ICF editor section. ###ICF###*/\r
20 \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 \r
26 define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };\r
27 define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };\r
28 define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };\r
29 define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };\r
30 define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };\r
31 define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };\r
32 define block HEAP      with alignment = 8, size = __ICFEDIT_size_heap__     { };\r
33 \r
34 initialize by copy { readwrite };\r
35 do not initialize  { section .noinit };\r
36 \r
37 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };\r
38 \r
39 place in ROM_region   { first block ICode{section .icode}, readonly };\r
40 place in RAM_region   { readwrite,\r
41                         block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK,\r
42                         block UND_STACK, block ABT_STACK, block HEAP };