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.
Tool/software:
I believe I'm exhausting the heap in the debug run of my program and my dynamic memory calls (e.g., malloc, calloc) are failing.
I've tried to increase the size (below). in the basic linker options I've tried inputting values in KB, B, and in both decimal and hex to no avail. As far as I can tell nothing I do is changing the size of the heap.
I've looked at the CCS user guide and besides a mention that exhausting the heap may cause printf issues, I was not able to find anything to assist. Might have missed it, but also did not find anything in the forum.
I am currently only using a single core with no RTOS... so my question(s):
1) Can I increase the heap size? If so, how?
2) When I transition to using two cores, what adjustments do I need to make?
Thanks in advance.
Hi,
Thanks for your query.
To modify the heap size, you will need to edit the entry in example.syscfg file.
Please refer below image.
Regards,
Tushar