]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_A5_SAMA5D3x_Xplained_IAR/AtmelFiles/libboard_sama5d3x-ek/resources/ewarm/sama5d3x/sram.icf
Start of SAMA5D3 XPlained demo.
[freertos] / FreeRTOS / Demo / CORTEX_A5_SAMA5D3x_Xplained_IAR / AtmelFiles / libboard_sama5d3x-ek / resources / ewarm / sama5d3x / sram.icf
diff --git a/FreeRTOS/Demo/CORTEX_A5_SAMA5D3x_Xplained_IAR/AtmelFiles/libboard_sama5d3x-ek/resources/ewarm/sama5d3x/sram.icf b/FreeRTOS/Demo/CORTEX_A5_SAMA5D3x_Xplained_IAR/AtmelFiles/libboard_sama5d3x-ek/resources/ewarm/sama5d3x/sram.icf
new file mode 100644 (file)
index 0000000..bf22030
--- /dev/null
@@ -0,0 +1,38 @@
+/*###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__ = 0x300000;\r
+define symbol __ICFEDIT_region_RAM_end__   = 0x31FFFF;\r
+/*-Sizes-*/\r
+define symbol __ICFEDIT_size_vectors__  = 0x100;\r
+define symbol __ICFEDIT_size_cstack__   = 0x400; \r
+define symbol __ICFEDIT_size_sysstack__ = 0x60;\r
+define symbol __ICFEDIT_size_irqstack__ = 0x60;\r
+define symbol __ICFEDIT_size_heap__     = 0x0;\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_sysstack__;\r
+export symbol __ICFEDIT_size_irqstack__;\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 SYS_STACK with alignment = 8, size = __ICFEDIT_size_sysstack__ { };\r
+define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };\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 SYS_STACK, block CSTACK, block HEAP };\r