<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/raspberrypi/common-hal/busio, 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>2021-03-17T16:25:54+00:00</updated>
<entry>
<title>RP2040: Only bitbang 0-byte writes</title>
<updated>2021-03-17T16:25:54+00:00</updated>
<author>
<name>Phil Howard</name>
<email>phil@gadgetoid.com</email>
</author>
<published>2021-03-10T19:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b8d4f9655f62f05e650a5baa256c8310aaa3f5dd'/>
<id>urn:sha1:b8d4f9655f62f05e650a5baa256c8310aaa3f5dd</id>
<content type='text'>
The I2C.c for RP2040 included a special case for writes &lt;=2 bytes to match the MicroPython implementation,
however RP2040 does support 1 and 2 byte reads, with only 0 bytes being the exception.

Signed-off-by: Philip Howard &lt;phil@pimoroni.com&gt;
</content>
</entry>
<entry>
<title>run code formatting script</title>
<updated>2021-03-15T13:57:36+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-03-15T13:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a52eb88031620a81521b937f2a0651dbac2bb350'/>
<id>urn:sha1:a52eb88031620a81521b937f2a0651dbac2bb350</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add 1sec timeouts for I2C read and write</title>
<updated>2021-03-03T14:43:57+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2021-03-03T14:43:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fb7a0f7efcdd639ff4a14a2985f9381c426b2321'/>
<id>urn:sha1:fb7a0f7efcdd639ff4a14a2985f9381c426b2321</id>
<content type='text'>
</content>
</entry>
<entry>
<title>works on nearly all sensors</title>
<updated>2021-03-03T04:27:37+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2021-03-03T04:18:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e3ab394cd6634aa0eefa64872461b5dc0bbfdc1a'/>
<id>urn:sha1:e3ab394cd6634aa0eefa64872461b5dc0bbfdc1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'adafruit/main' into rp2040-i2c-short-writes</title>
<updated>2021-03-02T20:17:12+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2021-03-02T20:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f31b4723093637ebd2566684dc3d1f61944d9e61'/>
<id>urn:sha1:f31b4723093637ebd2566684dc3d1f61944d9e61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wip</title>
<updated>2021-03-02T20:16:55+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2021-03-02T20:16:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9939c59caa4e13011e9d1f63079cb4a7942cfcc4'/>
<id>urn:sha1:9939c59caa4e13011e9d1f63079cb4a7942cfcc4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A few minor fixes for corner cases</title>
<updated>2021-02-26T00:50:57+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2021-02-26T00:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=52bc935fa7aa9e5c94f75fec8b2fa746c83f0be7'/>
<id>urn:sha1:52bc935fa7aa9e5c94f75fec8b2fa746c83f0be7</id>
<content type='text'>
* Always clear the peripheral interrupt so we don't hang when full
* Store the ringbuf in the object so it gets collected when we're alive
* Make UART objects have a finaliser so they are deinit when their
  memory is freed
* Copy bytes into the ringbuf from the FIFO after we read to ensure
  the interrupt is enabled ASAP
* Copy bytes into the ringbuf from the FIFO before measuring our
  rx available because the interrupt is based on a threshold (not
  &gt; 0). For example, a single byte won't trigger an interrupt.
</content>
</entry>
<entry>
<title>more uart improvements</title>
<updated>2021-02-25T18:16:00+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-02-25T18:16:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8170e26a869b1f00e2dc7aade84cb459155bf920'/>
<id>urn:sha1:8170e26a869b1f00e2dc7aade84cb459155bf920</id>
<content type='text'>
- address suggested changes
- refine uart instance availibility checks
- improve pin validation and rx buffer handling
</content>
</entry>
<entry>
<title>implement suggested changes</title>
<updated>2021-02-24T19:18:36+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-02-24T19:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5d7fdafcdec126f4f552689df25cecf30b39265d'/>
<id>urn:sha1:5d7fdafcdec126f4f552689df25cecf30b39265d</id>
<content type='text'>
- add internal buffering
- rtc initialization fix
</content>
</entry>
<entry>
<title>uart implementation for rp2040</title>
<updated>2021-02-19T13:06:00+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-02-19T13:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b12ccefbe6afd2c8b1743ce7759880ef3b01e9ed'/>
<id>urn:sha1:b12ccefbe6afd2c8b1743ce7759880ef3b01e9ed</id>
<content type='text'>
</content>
</entry>
</feed>
