tests/wipy: Disable the REPL on UART before running the UART test.

modjni
Daniel Campora 2015-09-09 22:41:32 +02:00
parent 7c87747db0
commit d265df589e
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ elif 'WiPy' in machine:
else:
raise Exception('Board not supported!')
# just in case we have stdio duplicated on any of the uarts
pyb.repl_uart(None)
for uart_id in uart_id_range:
uart = UART(uart_id, 38400)
print(uart)