]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/ARM7_STR75x_IAR/STR75x_FLASH.icf
Update version number in readiness for V10.2.0 release.
[freertos] / FreeRTOS / Demo / ARM7_STR75x_IAR / STR75x_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__ = 0x20000000;\r
6 /*-Memory Regions-*/\r
7 define symbol __ICFEDIT_region_ROM_start__ = 0x200006F4;\r
8 define symbol __ICFEDIT_region_ROM_end__   = 0x2003FFFF;\r
9 define symbol __ICFEDIT_region_RAM_start__ = 0x40000000;\r
10 define symbol __ICFEDIT_region_RAM_end__   = 0x40003FFF;\r
11 /*-Sizes-*/\r
12 define symbol __ICFEDIT_size_cstack__   = 0x400;\r
13 define symbol __ICFEDIT_size_svcstack__ = 0x200;\r
14 define symbol __ICFEDIT_size_irqstack__ = 0x200;\r
15 define symbol __ICFEDIT_size_fiqstack__ = 0x00;\r
16 define symbol __ICFEDIT_size_undstack__ = 0x00;\r
17 define symbol __ICFEDIT_size_abtstack__ = 0x00;\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 symbol __region_USB_PKG_RAM_start__  = 0xFFFFA000;\r
27 define symbol __region_USB_PKG_RAM_end__    = 0xFFFFA3FF;\r
28 define region USB_PKG_RAM_region = mem:[from __region_USB_PKG_RAM_start__ to __region_USB_PKG_RAM_end__];\r
29 \r
30 define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };\r
31 define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };\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 UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };\r
35 define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };\r
36 define block HEAP      with alignment = 8, size = __ICFEDIT_size_heap__     { };\r
37 \r
38 initialize by copy { readwrite };\r
39 do not initialize  { section .noinit };\r
40 do not initialize  { section USB_PACKET_MEMORY };\r
41 \r
42 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };\r
43 \r
44 place in ROM_region   { readonly };\r
45 place in RAM_region   { readwrite,\r
46                         block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK,\r
47                         block UND_STACK, block ABT_STACK, block HEAP };\r
48 place in USB_PKG_RAM_region\r
49                       { readwrite data section USB_PACKET_MEMORY  };\r