Arduino due minor fixes

Some (very) minor fixes/enhancements for the Arduino Due port.
I would prefer ` uart_write(uart, '\r');`