1/*###ICF### Section handled by ICF editor, don't touch! ****/ 2/*-Editor annotation file-*/ 3/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_4.xml" */ 4/*-Specials-*/ 5define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6/*-Memory Regions-*/ 7define symbol __ICFEDIT_region_IROM_start__ = 0x08000000; 8define symbol __ICFEDIT_region_IROM_end__ = 0x0001FFFF; 9define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000; 10define symbol __ICFEDIT_region_IRAM_end__ = 0x20004FFF; 11/*-Sizes-*/ 12define symbol __ICFEDIT_size_cstack__ = 0x0800; 13define symbol __ICFEDIT_size_proc_stack__ = 0x0; 14define symbol __ICFEDIT_size_heap__ = 0x0800; 15/**** End of ICF editor section. ###ICF###*/ 16define memory mem with size = 4G; 17define region IROM_region = mem:[from __ICFEDIT_region_IROM_start__ to __ICFEDIT_region_IROM_end__]; 18define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__]; 19define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 20define block PROC_STACK with alignment = 8, size = __ICFEDIT_size_proc_stack__ { }; 21define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 23do not initialize { section .noinit }; 24initialize by copy { readwrite }; 25if (isdefinedsymbol(__USE_DLIB_PERTHREAD)) 26{ 27 // Required in a multi-threaded application 28 initialize by copy with packing = none { section __DLIB_PERTHREAD }; 29} 30 31place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 32 33place in IROM_region { readonly }; 34place in IRAM_region { readwrite, block CSTACK, block PROC_STACK, block HEAP }; 35