Question
Get the stack size during application
Posted on September 10, 2015 at 22:15
Hai, im developming an application using the ST standard peripherie library. Im trying to get the information, how big is my stack. I tried to use the __get_PSP(void) function to get the value of the stack program counter. This function is implemented into the file: core_cmFunc.h
When im executing my code, i will not get the right values. When im debuging, i can see the value in SP Register and thus the stack pointer. Could somebody help me how to get the information, how big is my stack during my application.