summaryrefslogtreecommitdiffstatshomepage
path: root/tests/wipy/uart.py
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-09-09 22:41:32 +0200
committerDaniel Campora <daniel@wipy.io>2015-09-10 08:00:53 +0200
commitd265df589e66113399eb065deb933d79895ac69e (patch)
tree315f63baabfc341b0a0638b6a681e08ac6d35c13 /tests/wipy/uart.py
parent7c87747db087e397dd01fd138721202e06999e39 (diff)
downloadmicropython-d265df589e66113399eb065deb933d79895ac69e.tar.gz
micropython-d265df589e66113399eb065deb933d79895ac69e.zip
tests/wipy: Disable the REPL on UART before running the UART test.
Diffstat (limited to 'tests/wipy/uart.py')
-rw-r--r--tests/wipy/uart.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/wipy/uart.py b/tests/wipy/uart.py
index 24c879218c..d6910eaa1f 100644
--- a/tests/wipy/uart.py
+++ b/tests/wipy/uart.py
@@ -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)