summaryrefslogtreecommitdiff
path: root/tests/pyb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb')
-rw-r--r--tests/pyb/i2c_error.py2
-rw-r--r--tests/pyb/uart.py.exp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/pyb/i2c_error.py b/tests/pyb/i2c_error.py
index d6c0debe2..3201d6367 100644
--- a/tests/pyb/i2c_error.py
+++ b/tests/pyb/i2c_error.py
@@ -7,7 +7,7 @@ from pyb import I2C
pyb.Accel()
# get I2C bus
-i2c = I2C(1, I2C.MASTER)
+i2c = I2C(1, I2C.MASTER, dma=True)
# test polling mem_read
pyb.disable_irq()
diff --git a/tests/pyb/uart.py.exp b/tests/pyb/uart.py.exp
index 4be50d328..b5fe0cd0b 100644
--- a/tests/pyb/uart.py.exp
+++ b/tests/pyb/uart.py.exp
@@ -12,8 +12,8 @@ UART XB
UART YA
UART YB
ValueError Z
-UART(1, baudrate=9600, bits=8, parity=None, stop=1, timeout=1000, timeout_char=2, read_buf_len=64)
-UART(1, baudrate=2400, bits=8, parity=None, stop=1, timeout=1000, timeout_char=6, read_buf_len=64)
+UART(1, baudrate=9600, bits=8, parity=None, stop=1, timeout=1000, timeout_char=3, read_buf_len=64)
+UART(1, baudrate=2400, bits=8, parity=None, stop=1, timeout=1000, timeout_char=7, read_buf_len=64)
0
3
4