title: Call tree for embedded software
body: <p>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.</p>
  
  <p>An added bonus would be that the tool also gives the maximum stack depth.</p>
  
  <p>Update: solution is preferably free.</p>