AnsweredAssumed Answered

How to check stack and heap usage during run time.

Question asked by SIBIN THOMAS on Feb 16, 2018
Latest reply on Feb 18, 2018 by Bogdan Golab

Hello Everyone,


I am working on SPC560C50L3 MCU with SPC5 Studio. I am trying to add a library file which uses heavy stack and heap using dynamic allocations into my application. My code used to stuck in between due to stack overflow. Now I am able to change the stack size in the user.ld file. But how do I check the stack and heap usage at run time ? Any suggestion would be helpful.