Other Parts Discussed in Thread: CC3220S
in network_terminal_CC3220S_LAUNCHXL_TIRTOS.icf it defined Primary Heap as below.
Who or which thread or task will use the Primary Heap? Why define so big size 32KB? Can I shrink the size?
/* HeapMem Primary Heap configuration */
define symbol HEAPSIZE = 0x8000;
define block primary_heap with size = HEAPSIZE {};
/* place heap just before CSTACK */
place at end of SRAM { block primary_heap };
/* define buffer start and end symbols for HeapMem Primary Heap */
define exported symbol __primary_heap_end__ = end(SRAM) - STACKSIZE;
define exported symbol __primary_heap_start__ = __primary_heap_end__ - HEAPSIZE;