From 9b1c1262dc70cfb6b5cf5d27e3e3d8e41b5a4901 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 27 May 2016 14:28:15 +0100 Subject: cc3200: Define our own FreeRTOS heap so it can go in a special segment. --- cc3200/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cc3200/main.c') diff --git a/cc3200/main.c b/cc3200/main.c index 78b4e3161..4a6f6172b 100644 --- a/cc3200/main.c +++ b/cc3200/main.c @@ -56,6 +56,9 @@ OsiTaskHandle mpTaskHandle; #endif +// This is the FreeRTOS heap, defined here so we can put it in a special segment +uint8_t ucHeap[ configTOTAL_HEAP_SIZE ] __attribute__ ((section (".rtos_heap"))) __attribute__((aligned (8))); + /****************************************************************************** DEFINE PUBLIC FUNCTIONS ******************************************************************************/ -- cgit v1.2.3