<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/stm/common-hal/busio, branch encoding</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=encoding</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=encoding'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-07-22T18:22:05+00:00</updated>
<entry>
<title>Claim USB pins at startup to prevent overwrites</title>
<updated>2020-07-22T18:22:05+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-07-22T18:11:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c1f731d62e6d7bce385baec9ead3bafc46234805'/>
<id>urn:sha1:c1f731d62e6d7bce385baec9ead3bafc46234805</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm: SPI: revamp pin search code</title>
<updated>2020-07-07T19:37:50+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-06-24T16:28:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=57ab4f1329f61844409735189a482359d7d4b7a7'/>
<id>urn:sha1:57ab4f1329f61844409735189a482359d7d4b7a7</id>
<content type='text'>
I discussed with Hierophect on Discord about how to "de-nest" the code
for configuring SPI objects on STM, because the problems with one
nesting level per pin becomes unmanageable with the up to 10 pins of
SDIO.

This code (which is only compile-tested so far) demonstrates the concept
we discussed.

The SCK pin is always required.  Loop over all possibilities of the SCK
pin.  When we are considering a particular item in the mcu_spi_sck_list
we have now become committed to using a particular periph_index.  If all
the other pins can be satisfied by that periph_index, then we have a
working combination.  Once we have a working combination that is not
reserved, we can return that combination.  On reaching the end, we have
checked all the possible possibilities and can give the same errors as
before: One if there was a possibility that worked but was reserved;
and another if no possibility worked.
</content>
</entry>
<entry>
<title>Merge pull request #3083 from tannewt/esp32s2_busio</title>
<updated>2020-07-02T02:02:08+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jeff@adafruit.com</email>
</author>
<published>2020-07-02T02:02:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fcddfd0f3953b3633912f6aa963af8353075fc76'/>
<id>urn:sha1:fcddfd0f3953b3633912f6aa963af8353075fc76</id>
<content type='text'>
Add busio support for the ESP32-S2</content>
</entry>
<entry>
<title>Compiles!</title>
<updated>2020-06-24T19:47:59+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-06-23T19:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c5fa9730a87b47f569a2bc4a7599e67b198826e6'/>
<id>urn:sha1:c5fa9730a87b47f569a2bc4a7599e67b198826e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add UART support</title>
<updated>2020-06-24T19:47:58+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-06-10T01:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a26102607e3fe5b6f888fcd246e20ac82a70af7b'/>
<id>urn:sha1:a26102607e3fe5b6f888fcd246e20ac82a70af7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert I2C timing overrides, reduce scope to module only</title>
<updated>2020-06-15T17:51:09+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-06-15T17:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2aac3cbdceffbeb1d70ac9de1412a29335f18158'/>
<id>urn:sha1:2aac3cbdceffbeb1d70ac9de1412a29335f18158</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move I2C speed to clock-style definition</title>
<updated>2020-06-11T15:17:51+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-06-11T15:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=724637faa3b96b20f4deed32d58dcb7b50672479'/>
<id>urn:sha1:724637faa3b96b20f4deed32d58dcb7b50672479</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add macros for setting correct F7 and H7 I2C timing</title>
<updated>2020-06-10T20:36:44+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-06-10T20:36:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c08702414e410769de3d4821aa07f419c9ef7508'/>
<id>urn:sha1:c08702414e410769de3d4821aa07f419c9ef7508</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix up end of file and trailing whitespace.</title>
<updated>2020-06-03T09:56:35+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-05-30T09:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dd5d7c86d22807c021dd1711eb7dd3daebc5cfcf'/>
<id>urn:sha1:dd5d7c86d22807c021dd1711eb7dd3daebc5cfcf</id>
<content type='text'>
This can be enforced by pre-commit, but correct it separately to make it easier to review.
</content>
</entry>
<entry>
<title>Fix SWO/Analog overlap, style changes</title>
<updated>2020-05-29T16:19:37+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-05-29T16:19:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fe75c7793c9b7e18c35935befabdfa3892acc364'/>
<id>urn:sha1:fe75c7793c9b7e18c35935befabdfa3892acc364</id>
<content type='text'>
</content>
</entry>
</feed>
