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__ = 0x00000000; 6/*-Memory Regions-*/ 7define symbol __ICFEDIT_region_ROM_start__ = 0x00000100; 8define symbol __ICFEDIT_region_ROM_end__ = 0x0007FFFF; 9define symbol __ICFEDIT_region_RAM_start__ = 0x10000000; 10define symbol __ICFEDIT_region_RAM_end__ = 0x10007FFF; 11/*-Sizes-*/ 12define symbol __ICFEDIT_size_cstack__ = 0x800; 13define symbol __ICFEDIT_size_heap__ = 0x400; 14/**** End of ICF editor section. ###ICF###*/ 15 16define memory mem with size = 4G; 17define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 20define symbol _AHB_RAM_start__ = 0x2007C000; 21define symbol _AHB_RAM_end__ = 0x20083FFF; 22define region AHB_RAM_region = mem:[from _AHB_RAM_start__ to _AHB_RAM_end__]; 23 24define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 25define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 26 27initialize by copy { readwrite }; 28do not initialize { section .noinit }; 29do not initialize { section USB_DMA_RAM }; 30 31keep { section FSymTab }; 32keep { section VSymTab }; 33 34place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 35place in ROM_region { readonly }; 36place in RAM_region { readwrite, 37 block CSTACK, block HEAP }; 38place in AHB_RAM_region 39 { readwrite data section AHB_RAM_MEMORY, section USB_DMA_RAM, section EMAC_DMA_RAM}; 40 41