Error messages in stdlib
Allow UART debug to be defined when compiling