X-Git-Url: https://git.sur5r.net/?p=freertos;a=blobdiff_plain;f=FreeRTOS%2FDemo%2FCORTEX_M0%2B_LPC51U68_GCC_IAR_KEIL%2FKeil_specific%2Fcompiler_attributes.h;fp=FreeRTOS%2FDemo%2FCORTEX_M0%2B_LPC51U68_GCC_IAR_KEIL%2FKeil_specific%2Fcompiler_attributes.h;h=3a030396e92698a82c8311d13675ea13e5dadd17;hp=5167987c96e1d8d92535bfed7fd8c118133690c3;hb=d7f98d4e7a422a2e0d2bab85f10d92b288b714b5;hpb=06aa050d826b19c380bbb60b902f618727aba799 diff --git a/FreeRTOS/Demo/CORTEX_M0+_LPC51U68_GCC_IAR_KEIL/Keil_specific/compiler_attributes.h b/FreeRTOS/Demo/CORTEX_M0+_LPC51U68_GCC_IAR_KEIL/Keil_specific/compiler_attributes.h index 5167987c9..3a030396e 100644 --- a/FreeRTOS/Demo/CORTEX_M0+_LPC51U68_GCC_IAR_KEIL/Keil_specific/compiler_attributes.h +++ b/FreeRTOS/Demo/CORTEX_M0+_LPC51U68_GCC_IAR_KEIL/Keil_specific/compiler_attributes.h @@ -29,4 +29,9 @@ todo: this is commented out intentionally, as it doesn't seem to work. Clean up is needed*/ -#define COMPILER_ATTRIBUTE_PLACE_IN_2ND_MEMORY_BANK //__attribute__((section("m_data_start"))) + +/* Attribute to place the second FreeRTOS heap in another memory bank, if present. + This is defined as empty, as the linker file (LPC51U68_flash.scf) provided only + one bank as heap. Could still have two FreeRTOS heap regions, as long as they fit. +*/ +#define COMPILER_ATTRIBUTE_PLACE_IN_2ND_MEMORY_BANK