1 |
580 |
jeremybenn |
/*###ICF### Section handled by ICF editor, don't touch! ****/
|
2 |
|
|
/*-Editor annotation file-*/
|
3 |
|
|
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */
|
4 |
|
|
/*-Vector table start*/
|
5 |
|
|
define symbol __ICFEDIT_vector_start__ = 0x00080000; /*Add for CMSIS*/
|
6 |
|
|
/*-Memory Regions-*/
|
7 |
|
|
define symbol __ICFEDIT_region_RAM0_start__ = 0x20000000;
|
8 |
|
|
define symbol __ICFEDIT_region_RAM0_end__ = 0x20007FFF;
|
9 |
|
|
define symbol __ICFEDIT_region_RAM1_start__ = 0x20080000;
|
10 |
|
|
define symbol __ICFEDIT_region_RAM1_end__ = 0x20083FFF;
|
11 |
|
|
define symbol __ICFEDIT_region_ROM0_start__ = 0x00080000;
|
12 |
|
|
define symbol __ICFEDIT_region_ROM0_end__ = 0x0009FFFF;
|
13 |
|
|
define symbol __ICFEDIT_region_ROM1_start__ = 0x00100000;
|
14 |
|
|
define symbol __ICFEDIT_region_ROM1_end__ = 0x0011FFFF;
|
15 |
|
|
/*-Sizes-*/
|
16 |
|
|
define symbol __ICFEDIT_size_cstack__ = 0x200;
|
17 |
|
|
define symbol __ICFEDIT_size_heap__ = 0x4;
|
18 |
|
|
/*-Specials-*/
|
19 |
|
|
/*define symbol __ICFEDIT_region_RAM_VECT_start__ = __ICFEDIT_region_RAM0_start__;*/ /*Referenced for CMSIS*/
|
20 |
|
|
/*define symbol __ICFEDIT_size_vectors__ = 0x100;*/ /*Referenced for CMSIS*/
|
21 |
|
|
/*-Exports-*/
|
22 |
|
|
/*export symbol __ICFEDIT_region_RAM_VECT_start__;*/
|
23 |
|
|
export symbol __ICFEDIT_vector_start__; /*Add for CMSIS*/
|
24 |
|
|
/**** End of ICF editor section. ###ICF###*/
|
25 |
|
|
|
26 |
|
|
define memory mem with size = 4G;
|
27 |
|
|
/*define region RAM_VECT_region = mem:[from __ICFEDIT_region_RAM_VECT_start__ size __ICFEDIT_size_vectors__];*/ /*Referenced for CMSIS*/
|
28 |
|
|
/*define region RAM0_region = mem:[from __ICFEDIT_region_RAM0_start__+__ICFEDIT_size_vectors__ to __ICFEDIT_region_RAM0_end__];*/ /*Referenced for CMSIS*/
|
29 |
|
|
define region RAM0_region = mem:[from __ICFEDIT_region_RAM0_start__ to __ICFEDIT_region_RAM0_end__];
|
30 |
|
|
define region RAM1_region = mem:[from __ICFEDIT_region_RAM1_start__ to __ICFEDIT_region_RAM1_end__];
|
31 |
|
|
/*define region RAM_region = mem:[from __ICFEDIT_region_RAM0_start__+__ICFEDIT_size_vectors__ to __ICFEDIT_region_RAM0_end__] |
|
32 |
|
|
mem:[from __ICFEDIT_region_RAM1_start__ to __ICFEDIT_region_RAM1_end__];*/ /*Referenced for CMSIS*/
|
33 |
|
|
define region ROM0_region = mem:[from __ICFEDIT_region_ROM0_start__ to __ICFEDIT_region_ROM0_end__];
|
34 |
|
|
define region ROM1_region = mem:[from __ICFEDIT_region_ROM1_start__ to __ICFEDIT_region_ROM1_end__];
|
35 |
|
|
|
36 |
|
|
/*define block RamVect with alignment = 8, size = __ICFEDIT_size_vectors__ { };*/
|
37 |
|
|
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
|
38 |
|
|
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
|
39 |
|
|
|
40 |
|
|
initialize by copy { readwrite };
|
41 |
|
|
do not initialize { section .noinit };
|
42 |
|
|
|
43 |
|
|
/*place at start of ROM0_region { readonly section .vectors };*/ /*Referenced for CMSIS*/
|
44 |
|
|
place at address mem:__ICFEDIT_vector_start__ { readonly section .vectors }; /*Add for CMSIS*/
|
45 |
|
|
place in ROM0_region { readonly };
|
46 |
|
|
place in RAM0_region { readwrite, block CSTACK, block HEAP };
|
47 |
|
|
/*place in RAM_VECT_region { block RamVect };*/ /*Referenced for CMSIS*/
|