This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHCC3220MODASF: Set HEAP size

Part Number: LAUNCHCC3220MODASF
Other Parts Discussed in Thread: SYSBIOS, CC3220SF

Hello all,

I need to increase the HEAP size of my application.
For test I created some threads in a row. After task number 4 the creation fails with an "out of memory" exception.

The only way I found is changing the HEAP size in the global (not generated) linker script.
Is it the right way for doing this with my settings?

var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var heapMemParams = new HeapMem.Params();
HeapMem.primaryHeapBaseAddr = "&__primary_heap_start__";
HeapMem.primaryHeapEndAddr = "&__primary_heap_end__";
heapMemParams.usePrimaryHeap = true;
BIOS.heapTrackEnabled = true;


I ask because I found a lot of HEAP information in the TI-RTOS documentation which describes how to set the HEAP configuration in the project config file.
But in my case this doesn't not work.

My versions:
- CCS 9.3
- SimpleLink SDK 3_30_01_02
- documentation TI-RTOS Kernel February 2018 (part of SDK documentaion)
- standard TI CC3220SF configuration ti.platforms.simplelink:CC3220SF

Best regards and many thanks,
Roman