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

How much Stack size needed

Hello
Im using uVision3 3.60 with LPC2366. How can I get the maximum stack usage?

I tried like this (see below) but the result is: Maximum Stack Usage = 0 bytes + Unknown(Cycles, Untraceable Function Pointers)

to find out how much stack you need, you can compile with all options selected on the linker listing section in the listing tab, then it produces an HTML file listing the functions and there callers / callees and required stack size ( static call graph ), this lists the maximum stack size that it can determine.

thanks for help
urs