How to enable SWO with ST-Link Utility on STM32F407G-DISC1
I'm working with the STM32-base template for F4 located here:
https://github.com/STM32-base/STM32-base-F4-template
To compile with gcc toolchain and loading the binary with STLink Utility. The binaries work fine on the board, but I cannot figure out how to enable Serial Wire Output (SWO) in the STLink Utility interface or get a serial output to show up. I've added IE:
#include <stdio.h> // up top
printf("hello world"); // in main()
ITM_SendChar('s'); // alternatively, in main()
All of which seems to compile fine, I can get a blinky LED On the port fine, but no serial output.
STLink Utility is v. 4.5.0.0
