调用树嵌入式软件 [英] Call tree for embedded software
问题描述
另外一个额外的好处是,该工具也给出最大的堆栈深度。
更新:解决方案最好是免费的。
实现这一点的一个好方法是使用作为RVCT(不免费)一部分的ARM链接器(armlink)的 - callgraph
选项。
有关详细信息 - callgraph文档。
我从一个意见中发现您正在寻找基于gcc的解决方案,而不是。但这可能仍然是有用的。
Does anyone know some tools to create a call tree for C application that will run on a microcontroller (Cortex-M3)? It could be generated from source code (not ideal), object code (prefered solution), or at runtime (acceptable). I've looked at gprof, but there's still a lot missing to get it to work on an embedded system.
An added bonus would be that the tool also gives the maximum stack depth.
Update: solution is preferably free.
One good way to achieve this is by using the --callgraph
option to the ARM linker (armlink) that is part of RVCT (not free).
For more details - callgraph documentation.
I realize from one of the comments that you are looking for a gcc-based solution, which this isn't. But it may still be helpful.
这篇关于调用树嵌入式软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!