annotate Common/Drivers/STM32F4xx_v220/Source/Templates/iar/linker/stm32f401xc_flash.icf @ 38:5f11787b4f42

include in ostc4 repository
author heinrichsweikamp
date Sat, 28 Apr 2018 11:52:34 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
1 /*###ICF### Section handled by ICF editor, don't touch! ****/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
2 /*-Editor annotation file-*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
4 /*-Specials-*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
5 define symbol __ICFEDIT_intvec_start__ = 0x08000000;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
6 /*-Memory Regions-*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
7 define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
8 define symbol __ICFEDIT_region_ROM_end__ = 0x0803FFFF;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
9 define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
10 define symbol __ICFEDIT_region_RAM_end__ = 0x2000FFFF;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
11 /*-Sizes-*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
12 define symbol __ICFEDIT_size_cstack__ = 0x400;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
13 define symbol __ICFEDIT_size_heap__ = 0x200;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
14 /**** End of ICF editor section. ###ICF###*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
15
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
16
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
17 define memory mem with size = 4G;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
18 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
19 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
20
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
21 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
22 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
23
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
24 initialize by copy { readwrite };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
25 do not initialize { section .noinit };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
26
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
27 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
28
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
29 place in ROM_region { readonly };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
30 place in RAM_region { readwrite,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
31 block CSTACK, block HEAP };