This allows pyboard.py to be used over a UART interface rather than just over a USB serial interface.