Debugging with printf, openocd and semihosting on Workbench for STM32
Hello. I’m a newbie. I have linux machine, stm32f4 discovery board, eclipse with fresh installed workbench, clean project with default config and some duck tape.
What should I do to make ocd printing printf() data in IDE console? Like this:
http://gnuarmeclipse.github.io/assets/images/2013/12/OpenOCDclientConsole.png
http://gnuarmeclipse.github.io/assets/images/2013/12/OpenOCDTraceConsole.png
I tried this richardtomkins solution, but it looks like blackbox and conflicts with default libs.