Other Parts Discussed in Thread: SYSCONFIG
Hi,
I am trying to get runtime heap stats on my CC1312R using simplelink_cc13x2_26x2_sdk_4_30_00_54 collector example on custom hardware so no debug like ROV.
In the app.cfg:
* The heap manager to use is selected by setting HEAPMGR_CONFIG to the corresponding value (see below)
* 0 = osal Heap manager, size is static.
* 0x80 = osal Heap manager, with auto-size: The remainning RAM (not used by the system) will be fully assign to the Heap.
* 1 = HeapMem with Static size
* 0x81 = HeapMem with auto-size. The remainning RAM (not used by the system) will be fully assign to the Heap.
* 2 = HeapTrack (with HeapMem) with fixe size
* 0x82 = HeapTrack (with HeapMem) with auto-size: The remainning RAM (not used by the system) will be fully assign to the Heap.
The project is using 0x80. So I read from this that heap stats are not available. I am only after the heap size used or memory available to keep an eye on resources.
However, if I select 0x82 then the project fails to build in IAR.
Is there any other way to get the size of heap used by the system?
Thanks,
Andy