/*###ICF### Section handled by ICF editor, don't touch! ****/ /*-Editor annotation file-*/ /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ /*-Specials-*/ define symbol __ICFEDIT_intvec_start__ = 0x70000000; /*-Memory Regions-*/ define symbol __ICFEDIT_region_ROM_start__ = 0x70000000; define symbol __ICFEDIT_region_ROM_end__ = 0x701FFFFF; // 2048 Kbytes for TouchGFX App define symbol __ICFEDIT_region_RAM_start__ = 0x24000000; define symbol __ICFEDIT_region_RAM_end__ = 0x2406BFFF; /*-Sizes-*/ define symbol __ICFEDIT_size_cstack__ = 0x1000; define symbol __ICFEDIT_size_heap__ = 0x1000; /**** End of ICF editor section. ###ICF###*/ define symbol __region_ITCM_start__ = 0x00000000; define symbol __region_ITCM_end__ = 0x0000FFFF; define symbol __region_DTCM_start__ = 0x20000000; define symbol __region_DTCM_end__ = 0x2000FFFF; define symbol __region_SRAMAHB_start__ = 0x30000000; define symbol __region_SRAMAHB_end__ = 0x30007FFF; define symbol __region_BKPSRAM_start__ = 0x38800000; define symbol __region_BKPSRAM_end__ = 0x38800FFF; define symbol __region_EXTRAM_start__ = 0x90000000; define symbol __region_EXTRAM_end__ = 0x91FFFFFF; define symbol __region_RAM_CMD_start__ = 0x2406C000; define symbol __region_RAM_CMD_end__ = 0x24071FFF; define symbol __region_EXTROM_start__ = 0x70200000; define symbol __region_EXTROM_end__ = 0x77FFFFFF; // 126 Mbytes for TouchGFX demo define memory mem with size = 4G; define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; define region EXTRAM_region = mem:[from __region_EXTRAM_start__ to __region_EXTRAM_end__]; define region ITCM_region = mem:[from __region_ITCM_start__ to __region_ITCM_end__]; define region DTCM_region = mem:[from __region_DTCM_start__ to __region_DTCM_end__]; define region SRAMAHB_region = mem:[from __region_SRAMAHB_start__ to __region_SRAMAHB_end__]; define region BKPSRAM_region = mem:[from __region_BKPSRAM_start__ to __region_BKPSRAM_end__]; define region RAM_CMD_region = mem:[from __region_RAM_CMD_start__ to __region_RAM_CMD_end__]; define region EXTROM_region = mem:[from __region_EXTROM_start__ to __region_EXTROM_end__]; define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; initialize by copy {readwrite } except { section .Bootloader /* Don't copy Bootloader code */}; do not initialize { section .noinit, section TouchGFX_Framebuffer, section Video_RGB_Buffer, section Nemagfx_Stencil_Buffer }; define symbol __bootloader_start__ = 0x08000000; place at address mem:__bootloader_start__ { section .Bootloader }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; place in ROM_region { readonly }; place in RAM_region { readwrite }; place in DTCM_region { block CSTACK, block HEAP, readwrite object heap_4.o }; place in RAM_CMD_region { section Nemagfx_Memory_Pool_Buffer }; // This region is set as uncached in MPU Config place in EXTRAM_region { first section TouchGFX_Framebuffer , section Video_RGB_Buffer , section Nemagfx_Stencil_Buffer }; place in EXTROM_region { section TextFlashSection , section FontFlashSection , section FontSearchFlashSection , section ExtFlashSection };