This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Generate useful stack usage report with Zephyr/nRF Connect

Hi community

In order to set a reasonable CONFIG_MAIN_STACK_SIZE I'd like to have a stack usage report.

I've seen the option CONFIG_STACK_USAGE. This generates an additional file for every single function which is more or less usless for me (<function>.su).

Is there a good way to find out what stack size is needed instead of just trying?

Thanks!

Simon

Related