]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_LM3S811_KEIL/startup_rvmdk.S
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@50 1d2547de-c912-0410-9cb9...
[freertos] / Demo / CORTEX_LM3S811_KEIL / startup_rvmdk.S
index 53c3d8c97ace5c735b4df8b1de03340ea8c332ed..e22c13e83a394b0a1f5fa7eb5810481d90df9be4 100644 (file)
@@ -217,6 +217,19 @@ __user_initial_stackheap
 ;******************************************************************************\r
         ALIGN\r
 \r
+; Note: \r
+; Using READWRITE places Section .RTOSHeap in Region ER_RW.\r
+; Using NOINIT places Section .RTOSHeap in Region ER_ZI,which means\r
+; "ZEROINITIALIZE" (sic), and which is the last region in memory. Then\r
+; we need to make this section the last section, which is somewhat tricky,\r
+; because we cannot use the sectionname, but need to use a defined symbol:\r
+; Linker option: "--last xHeap"\r
+\r
+               EXPORT xHeap\r
+\r
+                AREA    RTOSHeap, DATA, NOINIT\r
+xHeap\r
+\r
 ;******************************************************************************\r
 ;\r
 ; Tell the assembler that we're done.\r