Im using uVision3 3.60 with LPC2366. How can I get the maximum stack
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
Well, you can measure stack usage for any particular program
Obviously, different progrum runs can give you different results,
but at least it's hard data you can work with.
View all questions in Keil forum