afry-south / dragonfly-fcb

ÅF Dragonfly Quadrotor UAV Project
Other
7 stars 3 forks source link

Debug print with SWO #89

Closed stenbergd closed 9 years ago

stenbergd commented 9 years ago

It may be useful to enable debug printing with SWO interface instead of USB, since that is dependent on the USB working after system error.

In the GNU ARM Eclipse example project "Blinky", there is support for this.

A good thing for instance would be to print the HardFault handler message to this.

khayyami commented 9 years ago

This feature was added sep 1 2015. For printouts on console in debug mode use trace_printf() Files: trace.c trace.h trace_impl.c trace_impl.h semihosting.c