AnsweredAssumed Answered

Get the stack size during application

Question asked by milovanovic.darko on Sep 10, 2015
Latest reply on Sep 12, 2015 by Clive One
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.