Added UART support for I/O stream, printf and scanf.