If you wish to use printf-style retargeting via the UART, follow these steps:
retarget_stdio.c
<PACK_root>\Templates
\<project_dir>
Continue by building and debugging the project.