<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/pyb/spi.py, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-06-25T16:44:21+00:00</updated>
<entry>
<title>tests: Remove a test for micropython-specific SPI behavior</title>
<updated>2020-06-25T16:44:21+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-06-14T19:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3c11f6cc05d1e53985591fec3d0297444eeee151'/>
<id>urn:sha1:3c11f6cc05d1e53985591fec3d0297444eeee151</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/pyb: Update tests to run correctly on PYBv1.0.</title>
<updated>2018-05-02T05:25:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-02T05:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=db2bdad8a2ed0814a64d0859fa6ea435a110d304'/>
<id>urn:sha1:db2bdad8a2ed0814a64d0859fa6ea435a110d304</id>
<content type='text'>
In adcall.py the pyb module may not be imported, so use ADCAll directly.

In dac.py the DAC object now prints more info, so update .exp file.

In spi.py the SPI should be deinitialised upon exit, so the test can run a
second time correctly.
</content>
</entry>
<entry>
<title>tests: Add test for pyboard SPI in slave mode, recv with no master.</title>
<updated>2015-08-05T22:47:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-05T22:44:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=526dd542528c681c81558ba8395759e891cdecf2'/>
<id>urn:sha1:526dd542528c681c81558ba8395759e891cdecf2</id>
<content type='text'>
See PR #1414.
</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>stmhal: Change SPI phase spec to 0,1 to match standard conventions.</title>
<updated>2014-10-26T13:54:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-26T13:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=480a7ce58f6e5dc6179373f1f8b69d6a5434b2d4'/>
<id>urn:sha1:480a7ce58f6e5dc6179373f1f8b69d6a5434b2d4</id>
<content type='text'>
Was 1 or 2, now 0 or 1 (respectively).  0 means sample MISO on first
edge, 1 means sample on second edge.

Addresses issue #936.
</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>
