annotate f103c8/EWARM/stm32f103xb_sram.icf @ 5:0d3eea2dd7ea

working on devices and timers
author cin
date Fri, 20 Jan 2017 03:40:30 +0300
parents 0c59e7a7782a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
1 /*###ICF### Section handled by ICF editor, don't touch! ****/
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
2 /*-Editor annotation file-*/
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
4 /*-Specials-*/
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
5 define symbol __ICFEDIT_intvec_start__ = 0x20000000;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
6 /*-Memory Regions-*/
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
7 define symbol __ICFEDIT_region_ROM_start__ = 0x20000000 ;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
8 define symbol __ICFEDIT_region_ROM_end__ = 0x200013FF;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
9 define symbol __ICFEDIT_region_RAM_start__ = 0x20001400;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
10 define symbol __ICFEDIT_region_RAM_end__ = 0x20004FFF;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
11 /*-Sizes-*/
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
12 define symbol __ICFEDIT_size_cstack__ = 0x400;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
13 define symbol __ICFEDIT_size_heap__ = 0x200;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
14 /**** End of ICF editor section. ###ICF###*/
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
15
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
16
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
17 define memory mem with size = 4G;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
18 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
19 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
20
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
21 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
22 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
23
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
24 initialize by copy { readwrite };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
25 do not initialize { section .noinit };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
26
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
27 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
28
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
29 place in ROM_region { readonly };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
30 place in RAM_region { readwrite,
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
31 block CSTACK, block HEAP };