How to redirect the printf function to a UART for debug messages
Introduction It can be especially useful during code development to display messages in a terminal window about various system parameters to help with debugging. An easy way to do that is to use the printf function and redirect the output to a UART f...