2022-11-06 03:16 PM
2022-11-06 04:25 PM
I'm developing a project using STM32L431, and I'm trying to output printf with SWO, but I can't. How do I set it up?
Have the signal come out of PB3, have the debugger configure the debugger pod to use the trace mode, and the core clock, vs SWCLK
Plumb ITM_SendChar() into your STDIO layer so printf/putchar use it via __io_putchar() in ST's GNU/GCC implementation.