cancel
Showing results for 
Search instead for 
Did you mean: 

static sack usage using command line

MFawzy
Associate II

Hello,

I know that the static stack usage is available in the stm32cubeide, but I'm wondering can I do it use a command line?

after more googling, I found that there is command for arm "armlink " that can run to get the stack used for each obj file ARM Compiler User Guide Version 6.6

but i couldn't find this command in stm32cubeide, , so what is the corresponding command in ST compiler?

Thanks,

Mohammed

This discussion is locked. Please start a new topic to ask your question.
5 REPLIES 5
waclawek.jan
Super User

CubeIDE uses the GNU suite around GCC, where linker is LD from the binutils project. AFAIK there is no static stack analysis built into these tools.

JW

OK

I noticed that TI has a tool that can do it, and i wish if ST has the same

Software Development Organization (SDO) Applications Packages

waclawek.jan
Super User

You can post your request as an Idea here.

JW

I wish they'd pay my mortgage too.

I'd imagine there are static analysis tools available if you're willing to pay for them, unfortunately a lot of software engineers seem to want to get paid themselves, but won't pay for the work of others. Back in the day doing a stack and working set analysis was probably something your average CS major could code, along with a compiler or linker.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..