This KBA works with:
Set Serial Plugin port to VUART.
In Hardware Configurator check on GPIO and set Serial Wire Output pin to PF2.
Check on Serial and Virtual UART. Under Serial, set port to VUART and under Virtual UART set the VUART type to SWO.
Save the HWCONF file and open hal-config.h. The serial API requires a baudrate even though VUART does not, so we will put in a dummy value of 115200 for #define HAL_SERIAL_APP_BAUD_RATE. Then generate the AppBuilder project.
After compiling and flashing the firmware to the BRD4162A, do a hard reset of the WSTK by unpluging it and pluging it in again. This way the board controller is aware of the serial change. Open the Serial Console in Simplicity Studio and hit enter a few times under the Serial 0 tab.