summaryrefslogtreecommitdiffstatshomepage
path: root/tests/wipy/uart_irq.py
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-09-25 15:20:07 +0200
committerDaniel Campora <daniel@wipy.io>2015-09-27 11:27:24 +0200
commitef369249cb406758ec1caa9a212478ef69fd7ff0 (patch)
tree3b8e4b4358417693179b488dd79cb3b232538a6b /tests/wipy/uart_irq.py
parenta7261ae059f171e9677a86c59c7f7ed9e24b7ace (diff)
downloadmicropython-ef369249cb406758ec1caa9a212478ef69fd7ff0.tar.gz
micropython-ef369249cb406758ec1caa9a212478ef69fd7ff0.zip
cc3200: Implement support for os.dupterm().
Diffstat (limited to 'tests/wipy/uart_irq.py')
-rw-r--r--tests/wipy/uart_irq.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wipy/uart_irq.py b/tests/wipy/uart_irq.py
index 3f1084cce3..322be9e8b5 100644
--- a/tests/wipy/uart_irq.py
+++ b/tests/wipy/uart_irq.py
@@ -4,7 +4,6 @@ UART IRQ test for the CC3200 based boards.
from pyb import UART
import os
-import pyb
import time
machine = os.uname().machine
@@ -16,7 +15,7 @@ else:
raise Exception('Board not supported!')
# just in case we have stdio duplicated on any of the uarts
-pyb.repl_uart(None)
+os.dupterm(None)
uart0 = UART(0, 1000000, pins=uart_pins[0][0])
uart1 = UART(1, 1000000, pins=uart_pins[1][0])