<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/pyb/uart.py.exp, branch 5.3.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.3.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.3.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-01-04T06:53:41+00:00</updated>
<entry>
<title>tests/pyb/uart: Update test to match recent change to UART timeout_char.</title>
<updated>2017-01-04T06:53:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-04T06:53:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=54ea10a76ae0b5406a558a87c346224f57500cfb'/>
<id>urn:sha1:54ea10a76ae0b5406a558a87c346224f57500cfb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Make uart.write() function correctly for timeout=0.</title>
<updated>2015-11-30T17:29:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-30T17:29:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0d9b450701d064efcf57b86c1b7fbe3931179959'/>
<id>urn:sha1:0d9b450701d064efcf57b86c1b7fbe3931179959</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>stmhal: uart.any() function now returns number of bytes available.</title>
<updated>2015-11-30T13:07:20+00:00</updated>
<author>
<name>Ryan Shaw</name>
<email>ryannathans@hotmail.com</email>
</author>
<published>2015-11-27T15:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f99491cbf743d51fd2aa7332c0e03da64448d60a'/>
<id>urn:sha1:f99491cbf743d51fd2aa7332c0e03da64448d60a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses.</title>
<updated>2015-05-28T10:06:12+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-28T10:06:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d1ff7e9665c253b26fec0f7696107ff8446185c'/>
<id>urn:sha1:6d1ff7e9665c253b26fec0f7696107ff8446185c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Update pyb/uart.py test since baudrate of 1200 is too low.</title>
<updated>2015-02-27T00:40:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-27T00:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b67253e96f2bf9225c5652feb3bf41e30c76230e'/>
<id>urn:sha1:b67253e96f2bf9225c5652feb3bf41e30c76230e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Overhaul UART class to use read/write, and improve it.</title>
<updated>2014-10-21T21:15:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-11T16:57:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=481d714bd56e0173668b249760e9cea8fce9b04f'/>
<id>urn:sha1:481d714bd56e0173668b249760e9cea8fce9b04f</id>
<content type='text'>
UART object now uses a stream-like interface: read, readall, readline,
readinto, readchar, write, writechar.

Timeouts are configured when the UART object is initialised, using
timeout and timeout_char keyword args.

The object includes optional read buffering, using interrupts.  You can set
the buffer size dynamically using read_buf_len keyword arg.  A size of 0
disables buffering.
</content>
</entry>
<entry>
<title>tests: Add a suite of tests specifically for the pyboard.</title>
<updated>2014-05-03T15:43:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T15:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=41f768f3f336678ad7735c24f6f2e7814acd1988'/>
<id>urn:sha1:41f768f3f336678ad7735c24f6f2e7814acd1988</id>
<content type='text'>
In tests/pyb is now a suite of tests that tests the pyb module on the
pyboard.  They include expected output files because we can't run
CPython on the pyboard to compare against.

run-tests script has now been updated to allow pyboard tests to be run.
Just pass the option --pyboard.  This runs all basic, float and pyb
tests.  Note that float/math-fun.py currently fails because not all math
functions are implemented in stmhal/.
</content>
</entry>
</feed>
