We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The static call graph feature (MDK-ARM 3.40) is very nice to have, but I am having some problems getting the output I want. The problem is that the linker flags some functions as "UNUSED", and thus refuses to calculate/generate the max stack depth for these functions.
The functions in question are tasks in the RTX system, and thus they are called indirectly from the RTX kernel, which could possibly explain why, except:
This behaviour is only for two of my tasks, for the rest of them I do get the expected output in the static call graph document. These two tasks are not listed in the "Function pointers" section of the call graph document, but the other tasks are.
I am unable to see that I am doing anything different regarding these two tasks, other than the fact that they reside in the same source file as main().
Can anyone offer any advice on how to resolve this?
Regards -Oyvind
> Talking to myself here... :-)
Actually, I am also confused and curious about how to use the Static call graph; but I am not good enough to handle the related issues. So, I am glad to see your findings.