Stack analysis/ Stack Usage

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Stack analysis/ Stack Usage

198 Views
curiousforembedded
Contributor I

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?

0 Kudos
1 Reply

155 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

what's your target device?

0 Kudos