<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/stm/common-hal, 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>Merge branch 'main' into stm32-timer-allocator</title>
<updated>2020-07-22T17:59:39+00:00</updated>
<author>
<name>hierophect</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-07-22T17:59:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e232ec10ceb9c78df27cb4b5cee79079efd85d84'/>
<id>urn:sha1:e232ec10ceb9c78df27cb4b5cee79079efd85d84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Free timers when modules de-init</title>
<updated>2020-07-22T17:58:57+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-07-22T17:58:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=138189bad130569ac9a9b3051543b804db54ec6f'/>
<id>urn:sha1:138189bad130569ac9a9b3051543b804db54ec6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix pulseIO reset and frequency issues, remove IRQ conflict</title>
<updated>2020-07-16T19:45:18+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-07-16T19:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6a49766df04ba23d2c5f0bdb24f826ff1355340d'/>
<id>urn:sha1:6a49766df04ba23d2c5f0bdb24f826ff1355340d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix IRQ enum protections</title>
<updated>2020-07-14T20:33:36+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-07-14T20:33:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=818b96ae615b074f77d5069337c790aa1dea8e39'/>
<id>urn:sha1:818b96ae615b074f77d5069337c790aa1dea8e39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #3003 from Flameeyes/master</title>
<updated>2020-07-13T23:28:49+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2020-07-13T23:28:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=51c888d4be5ec0e0bc19a0de539f0f21a04da135'/>
<id>urn:sha1:51c888d4be5ec0e0bc19a0de539f0f21a04da135</id>
<content type='text'>
License tagging according to REUSE specifications.</content>
</entry>
<entry>
<title>Enable RGB Matrix</title>
<updated>2020-07-10T15:06:12+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-07-09T20:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eb860101766741fd75326577bb779d91cb3afd01'/>
<id>urn:sha1:eb860101766741fd75326577bb779d91cb3afd01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix advanced claimed pin/package timer search</title>
<updated>2020-07-09T15:42:37+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-07-09T15:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2bcc5c06c2efe5fb9469cab2f8f9aa801fbde14b'/>
<id>urn:sha1:2bcc5c06c2efe5fb9469cab2f8f9aa801fbde14b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/main' into stm32-timer-allocator</title>
<updated>2020-07-08T20:03:12+00:00</updated>
<author>
<name>Lucian Copeland</name>
<email>hierophect@gmail.com</email>
</author>
<published>2020-07-08T20:03:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9c38f5dcb1a219faee7ecacfd9bf98a5f7771206'/>
<id>urn:sha1:9c38f5dcb1a219faee7ecacfd9bf98a5f7771206</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>
</feed>
