1/*###ICF### Section handled by ICF editor, don't touch! ****/ 2/*-Editor annotation file-*/ 3/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4/*-Specials-*/ 5define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6/*-Memory Regions-*/ 7define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8define symbol __ICFEDIT_region_ROM_end__ = 0x0803FFFF; 9define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10define symbol __ICFEDIT_region_RAM_end__ = 0x2000BFFF; 11/*-Sizes-*/ 12define symbol __ICFEDIT_size_cstack__ = 0x200; 13define symbol __ICFEDIT_size_heap__ = 0x200; 14/**** End of ICF editor section. ###ICF###*/ 15 16export symbol __ICFEDIT_region_RAM_end__; 17 18define symbol __region_RAM1_start__ = 0x10000000; 19define symbol __region_RAM1_end__ = 0x1000FFFF; 20 21define memory mem with size = 4G; 22define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 23define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 24define region RAM1_region = mem:[from __region_RAM1_start__ to __region_RAM1_end__]; 25 26define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 27define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 28 29initialize by copy { readwrite }; 30do not initialize { section .noinit }; 31 32keep { section FSymTab }; 33keep { section VSymTab }; 34keep { section .rti_fn* }; 35place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 36 37place in ROM_region { readonly }; 38place in RAM_region { readwrite, 39 block CSTACK, block HEAP }; 40place in RAM1_region { section .sram }; 41