Hello, I am using S32 Design Studio for my project and I am curious to know how to calculate the stack usage by my overall project. I found out that using -fstack-usage flag might help in analyzing the stack usage but it doesn't really help. My cross compiler used is gcc which shows in my cross settings under C/C++ Build. But below the Cross settings and Target processor i see Standard S32DS C compiler, so i am not sure if this is same as gcc. I am trying to add this flag in Standard S32DS C compiler->miscellaneous tab. Is there any method to calculate stack usage for this compiler?
Hi,
what's your target device?