]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_A5_SAMA5D4x_EK_IAR/AtmelFiles/libboard_sama5d4x-ek/resources/ewarm/sama5d4x/sram.icf
Core kernel files:
[freertos] / FreeRTOS / Demo / CORTEX_A5_SAMA5D4x_EK_IAR / AtmelFiles / libboard_sama5d4x-ek / resources / ewarm / sama5d4x / sram.icf
diff --git a/FreeRTOS/Demo/CORTEX_A5_SAMA5D4x_EK_IAR/AtmelFiles/libboard_sama5d4x-ek/resources/ewarm/sama5d4x/sram.icf b/FreeRTOS/Demo/CORTEX_A5_SAMA5D4x_EK_IAR/AtmelFiles/libboard_sama5d4x-ek/resources/ewarm/sama5d4x/sram.icf
new file mode 100644 (file)
index 0000000..25732f4
--- /dev/null
@@ -0,0 +1,46 @@
+/*###ICF### Section handled by ICF editor, don't touch! ****/\r
+/*-Editor annotation file-*/\r
+/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */\r
+/*-Memory Regions-*/\r
+define symbol __ICFEDIT_region_RAM_start__ = 0x200000;\r
+define symbol __ICFEDIT_region_RAM_end__   = 0x21FFFF;\r
+/*-Sizes-*/\r
+define symbol __ICFEDIT_size_vectors__  = 0x100;\r
+define symbol __ICFEDIT_size_cstack__   = 0x4000; \r
+define symbol __ICFEDIT_size_irqstack__ = 0x60;\r
+define symbol __ICFEDIT_size_fiqstack__ = 0x60;\r
+define symbol __ICFEDIT_size_abtstack__ = 0x60;\r
+define symbol __ICFEDIT_size_undstack__ = 0x40;\r
+\r
+define symbol __ICFEDIT_size_heap__     = 0x400;\r
+/*-Exports-*/\r
+export symbol __ICFEDIT_region_RAM_start__;\r
+export symbol __ICFEDIT_region_RAM_end__;\r
+export symbol __ICFEDIT_size_vectors__;\r
+export symbol __ICFEDIT_size_cstack__;\r
+export symbol __ICFEDIT_size_irqstack__;\r
+export symbol __ICFEDIT_size_fiqstack__;\r
+\r
+export symbol __ICFEDIT_size_heap__;\r
+/**** End of ICF editor section. ###ICF###*/\r
+\r
+define memory mem with size = 4G;\r
+define region VEC_region = mem:[from __ICFEDIT_region_RAM_start__ size __ICFEDIT_size_vectors__];\r
+define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__+__ICFEDIT_size_vectors__ to __ICFEDIT_region_RAM_end__];\r
+\r
+define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };\r
+define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };\r
+define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };\r
+define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };\r
+define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };\r
+define block HEAP      with alignment = 8, size = __ICFEDIT_size_heap__     { };\r
+\r
+initialize by copy with packing=none { readwrite };  \r
+do not initialize  { readonly section .noinit };\r
+\r
+place in VEC_region { section .vectors };\r
+place in RAM_region { readonly };\r
+place in RAM_region { section .cstartup };\r
+place in RAM_region { readwrite, block IRQ_STACK, block FIQ_STACK, block ABT_STACK, block UND_STACK, block CSTACK, block HEAP };\r
+\r
+\r