Skip to main content
MFawzy
Associate III
December 19, 2022
Question

static sack usage using command line

  • December 19, 2022
  • 2 replies
  • 1536 views

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 topic has been closed for replies.

2 replies

waclawek.jan
Super User
December 19, 2022

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

MFawzy
MFawzyAuthor
Associate III
December 19, 2022

OK

MFawzy
MFawzyAuthor
Associate III
December 19, 2022

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
December 19, 2022

You can post your request as an Idea here.

JW