]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_M0+_LPC51U68_GCC_IAR_KEIL/Keil_specific/compiler_attributes.h
Cleaning up LPC51U68 projects:
[freertos] / FreeRTOS / Demo / CORTEX_M0+_LPC51U68_GCC_IAR_KEIL / Keil_specific / compiler_attributes.h
index 5167987c96e1d8d92535bfed7fd8c118133690c3..3a030396e92698a82c8311d13675ea13e5dadd17 100644 (file)
@@ -29,4 +29,9 @@
 todo: \r
 this is commented out intentionally, as it doesn't seem to work. \r
 Clean up is needed*/\r
-#define COMPILER_ATTRIBUTE_PLACE_IN_2ND_MEMORY_BANK                    //__attribute__((section("m_data_start")))\r
+\r
+/* Attribute to place the second FreeRTOS heap in another memory bank, if present. \r
+   This is defined as empty, as the linker file (LPC51U68_flash.scf) provided only\r
+   one bank as heap. Could still have two FreeRTOS heap regions, as long as they fit.  \r
+*/\r
+#define COMPILER_ATTRIBUTE_PLACE_IN_2ND_MEMORY_BANK\r