Can you please post your complete project so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
The correct solution:
Project->Build Settings->PDL->Utilities_>Check Retarget I/O
UART does nothing without this.