micropython/tests/pyb
Damien George 0d9b450701 stmhal: Make uart.write() function correctly for timeout=0.
In non-blocking mode (timeout=0), uart.write() can now transmit all of its
data without raising an exception.  uart.read() also works correctly in
this mode.

As part of this patch, timout_char now has a minimum value which is long
enough to transfer 1 character.

Addresses issue #1533.
2015-11-30 17:29:52 +00: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 stmhal: Fix adc.read_timed so buffer store respects element size. 2015-03-13 22:11:50 +00:00
adc.py.exp stmhal: Fix adc.read_timed so buffer store respects element size. 2015-03-13 22:11:50 +00:00
can.py stmhal/can: Fix a bug in filter handling. 2015-11-02 23:09:49 +00:00
can.py.exp stmhal/can: Fix a bug in filter handling. 2015-11-02 23:09:49 +00:00
dac.py tests, pyb: Add 'import pyb' when needed. 2014-05-04 12:40:51 +01:00
dac.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
extint.py tests, pyb: Add 'import pyb' when needed. 2014-05-04 12:40:51 +01:00
extint.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
halerror.py stmhal: Fix HAL error raising; make test for it. 2014-11-15 20:39:44 +00:00
halerror.py.exp stmhal: Fix HAL error raising; make test for it. 2014-11-15 20:39:44 +00:00
i2c.py tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses. 2015-05-28 11:06:12 +01: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
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, pyb: Add 'import pyb' when needed. 2014-05-04 12:40:51 +01:00
led.py.exp stmhal: Make LED object print LED(x) for consistency with constructor. 2015-04-11 21:50:53 +01: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: Update pin test. 2014-08-08 22:38:58 +01:00
pin.py.exp tests, pyb: Update pin test. 2014-08-08 22:38:58 +01:00
pyb1.py tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
pyb1.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
rtc.py tests: In pyb RTC tests, check wakeup register values. 2015-10-09 23:06:05 +01: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: Add test for pyboard SPI in slave mode, recv with no master. 2015-08-05 23:47:57 +01: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 stmhal: Make uart.write() function correctly for timeout=0. 2015-11-30 17:29:52 +00:00