micropython/tests/pyb
Damien George a12d046c42 tests/pyb: Make i2c and pyb1 pyboard tests run again.
For i2c.py: the accelerometer now uses the new I2C driver so need to
explicitly init the legacy i2c object to get the test working.

For pyb1.py: the legacy pyb.hid() call will crash if the USB_HID object is
not initialised.
2018-06-08 13:00:27 +10:00
..
accel.py tests, pyb: Add 'import pyb' when needed. 2014-05-04 12:40:51 +01:00
accel.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
adc.py stm32/adc: Add read_timed_multi() static method, with docs and tests. 2018-04-11 13:36:17 +10:00
adc.py.exp tests/pyb/adc.py: Fix test so that it really does test ADC values. 2018-04-11 13:21:57 +10:00
adcall.py tests/pyb: Update tests to run correctly on PYBv1.0. 2018-05-02 15:25:37 +10:00
adcall.py.exp tests/pyb: Add test for pyb.ADCAll class. 2018-04-11 17:12:13 +10:00
can.py tests/pyb/can: Update to test pyb.CAN restart, state, info, inplace recv 2018-03-19 15:15:39 +11:00
can.py.exp tests/pyb/can: Update to test pyb.CAN restart, state, info, inplace recv 2018-03-19 15:15:39 +11:00
dac.py stm32/dac: Add buffering argument to constructor and init() method. 2018-04-11 14:22:21 +10:00
dac.py.exp tests/pyb: Update tests to run correctly on PYBv1.0. 2018-05-02 15:25:37 +10:00
extint.py tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
extint.py.exp tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
halerror.py stmhal: Fix HAL error raising; make test for it. 2014-11-15 20:39:44 +00:00
halerror.py.exp stmhal: Convert to use internal errno symbols; enable uerrno module. 2016-05-10 23:30:39 +01:00
i2c.py tests/pyb: Make i2c and pyb1 pyboard tests run again. 2018-06-08 13:00:27 +10:00
i2c.py.exp tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses. 2015-05-28 11:06:12 +01:00
i2c_error.py stmhal/i2c: Add option to I2C to enable/disable use of DMA transfers. 2016-11-11 17:36:19 +11:00
i2c_error.py.exp tests: For pyboard, add test for I2C error handling and recovery. 2016-01-30 00:06:04 +00:00
irq.py tests: Add test for pyb.disable_irq and pyb.enable_irq. 2014-08-25 18:44:10 +01:00
irq.py.exp tests: Add test for pyb.disable_irq and pyb.enable_irq. 2014-08-25 18:44:10 +01:00
led.py tests: Update pyboard LED test. 2016-01-29 23:12:59 +00:00
led.py.exp stmhal: Make LED object print LED(x) for consistency with constructor. 2015-04-11 21:50:53 +01:00
modstm.py tests/pyb: Add simple test for stm module on pyboard. 2016-02-10 17:06:07 +00:00
modstm.py.exp tests/pyb: Add simple test for stm module on pyboard. 2016-02-10 17:06:07 +00:00
modtime.py lib: Fix some issues in timeutils 2015-05-21 23:31:50 +03:00
modtime.py.exp lib: Fix some issues in timeutils 2015-05-21 23:31:50 +03:00
pin.py tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
pin.py.exp tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
pyb1.py tests/pyb: Make i2c and pyb1 pyboard tests run again. 2018-06-08 13:00:27 +10:00
pyb1.py.exp tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
pyb_f405.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
pyb_f405.py.exp tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
pyb_f411.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
pyb_f411.py.exp tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
rtc.py tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
rtc.py.exp tests: In pyb RTC tests, check wakeup register values. 2015-10-09 23:06:05 +01:00
servo.py tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
servo.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
spi.py tests/pyb: Update tests to run correctly on PYBv1.0. 2018-05-02 15:25:37 +10:00
spi.py.exp tests: Add test for pyboard SPI in slave mode, recv with no master. 2015-08-05 23:47:57 +01:00
switch.py tests, pyb: Add 'import pyb' when needed. 2014-05-04 12:40:51 +01:00
switch.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
timer.py tests: Add more tests for pyb.Timer class. 2015-02-23 13:18:33 +00:00
timer.py.exp tests: Add more tests for pyb.Timer class. 2015-02-23 13:18:33 +00:00
timer_callback.py tests: Make pyb/timer test check callback timing properly. 2015-03-20 23:50:33 +00:00
timer_callback.py.exp tests: Make pyb/timer test check callback timing properly. 2015-03-20 23:50:33 +00:00
uart.py stmhal: Make uart.write() function correctly for timeout=0. 2015-11-30 17:29:52 +00:00
uart.py.exp tests/pyb/uart: Update test to match recent change to UART timeout_char. 2017-01-04 17:53:41 +11:00