11/*###ICF### Section handled by ICF editor, don't touch! ****/
22/*-Editor annotation file-*/
3- /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0 .xml" */
3+ /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0 .xml" */
44/*-Specials-*/
55define symbol __ICFEDIT_intvec_start__ = 0x00000000;
66/*-Memory Regions-*/
7- define symbol __ICFEDIT_region_text_start__ = 0x10000000;
8- define symbol __ICFEDIT_region_text_end__ = 0x1003FFFF;
9- define symbol __ICFEDIT_region_data_start__ = 0x10040000;
10- define symbol __ICFEDIT_region_data_end__ = 0x1005FFFF;
7+ define symbol __ICFEDIT_region_ROM_start__ = 0x10000000;
8+ define symbol __ICFEDIT_region_ROM_end__ = 0x1003FFFF;
9+ define symbol __ICFEDIT_region_RAM_start__ = 0x10040000;
10+ define symbol __ICFEDIT_region_RAM_end__ = 0x1005FFFF;
1111/*-Sizes-*/
1212define symbol __ICFEDIT_size_cstack__ = 0x400;
1313define symbol __ICFEDIT_size_heap__ = 0x000;
1414/**** End of ICF editor section. ###ICF###*/
1515
16-
1716define memory mem with size = 4G;
18- define region text_region = mem:[from __ICFEDIT_region_text_start__ to __ICFEDIT_region_text_end__];
19- define region data_region = mem:[from __ICFEDIT_region_data_start__ to __ICFEDIT_region_data_end__];
20-
21- keep { section .resource_table };
22- ".resource_table" : place in data_region {section .resource_table};
23-
17+ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
18+ define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
2419
2520define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
26- define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
2721
2822initialize by copy { readwrite };
29- do not initialize { section .noinit};
23+ do not initialize { section .noinit };
3024
3125place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
32- place in text_region { readonly };
33- place in data_region { readwrite,
34- block CSTACK, block HEAP };
26+
27+ place in ROM_region { readonly };
28+ place in RAM_region { readwrite, last block CSTACK};
0 commit comments