annotate Common/Drivers/STM32F4xx_v220/Source/Templates/iar/linker/stm32f405xx_flash.icf @ 101:83feba2ad1c3 kittz

globals
author Dmitry Romanov <kitt@bk.ru>
date Tue, 27 Nov 2018 13:18:59 +0300
parents 5f11787b4f42
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__ = 0x080FFFFF;
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__ = 0x2001FFFF;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
11 define symbol __ICFEDIT_region_CCMRAM_start__ = 0x10000000;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
12 define symbol __ICFEDIT_region_CCMRAM_end__ = 0x1000FFFF;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
13 /*-Sizes-*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
14 define symbol __ICFEDIT_size_cstack__ = 0x400;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
15 define symbol __ICFEDIT_size_heap__ = 0x200;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
16 /**** End of ICF editor section. ###ICF###*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
17
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
18
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
19 define memory mem with size = 4G;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
20 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
21 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
22 define region CCMRAM_region = mem:[from __ICFEDIT_region_CCMRAM_start__ to __ICFEDIT_region_CCMRAM_end__];
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
23
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
24 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
25 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
26
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
27 initialize by copy { readwrite };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
28 do not initialize { section .noinit };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
29
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
30 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
31
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
32 place in ROM_region { readonly };
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
33 place in RAM_region { readwrite,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
34 block CSTACK, block HEAP };