Skip to content
Snippets Groups Projects
Commit 9b1c1262 authored by Damien George's avatar Damien George
Browse files

cc3200: Define our own FreeRTOS heap so it can go in a special segment.

parent 5c0fc73f
No related branches found
No related tags found
No related merge requests found
......@@ -151,4 +151,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
version. */
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
/* We provide a definition of ucHeap so it can go in a special segment. */
#define configAPPLICATION_ALLOCATED_HEAP 1
#endif /* FREERTOS_CONFIG_H */
......@@ -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
******************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment