<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/atmel-samd/common-hal, branch master</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=master</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-06-03T09:56:35+00:00</updated>
<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>Merge pull request #2931 from tannewt/esp32s2_digitalio</title>
<updated>2020-05-26T23:18:45+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@adafruit.com</email>
</author>
<published>2020-05-26T23:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3574670226ccf8f5cd95eafc5d37dffed0a1bc59'/>
<id>urn:sha1:3574670226ccf8f5cd95eafc5d37dffed0a1bc59</id>
<content type='text'>
Finish digitalio and pin use tracking for ESP32S2</content>
</entry>
<entry>
<title>Add an increment to tcc_refcount to allow deinits to work properly</title>
<updated>2020-05-21T16:08:26+00:00</updated>
<author>
<name>DavePutz</name>
<email>dwputz@gmail.com</email>
</author>
<published>2020-05-21T16:08:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2e05f628f0ce09bcd411fab8406b4675c40a0dab'/>
<id>urn:sha1:2e05f628f0ce09bcd411fab8406b4675c40a0dab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'adafruit/master' into esp32s2_digitalio</title>
<updated>2020-05-20T17:48:27+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-05-20T17:48:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ba724fffb4e67dc37159c1371352e42e0bab7b4a'/>
<id>urn:sha1:ba724fffb4e67dc37159c1371352e42e0bab7b4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update digitalio api for other ports</title>
<updated>2020-05-20T16:23:42+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-05-20T16:23:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fd0420d43209a533f4896adae36952d9a11dc49c'/>
<id>urn:sha1:fd0420d43209a533f4896adae36952d9a11dc49c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #2837 from k0d/serial-debug</title>
<updated>2020-05-19T01:13:31+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2020-05-19T01:13:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2c2b53303d17e07daa8f7a61740835d30f671a18'/>
<id>urn:sha1:2c2b53303d17e07daa8f7a61740835d30f671a18</id>
<content type='text'>
Add support for a debug console, such as ST-Link VCP.</content>
</entry>
<entry>
<title>Enable showing the console on a debug uart</title>
<updated>2020-05-19T00:02:52+00:00</updated>
<author>
<name>Mark Olsson</name>
<email>post@markolsson.se</email>
</author>
<published>2020-05-18T12:04:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=007c92ee6ab8da342dacb8967ef999b6d83596ec'/>
<id>urn:sha1:007c92ee6ab8da342dacb8967ef999b6d83596ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merged master</title>
<updated>2020-05-12T04:41:28+00:00</updated>
<author>
<name>Daniel Pollard</name>
<email>daniel@learnweaver.com</email>
</author>
<published>2020-05-12T04:41:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ee2cb703c83ff1c27675e98ce28f4cc49a33ebb9'/>
<id>urn:sha1:ee2cb703c83ff1c27675e98ce28f4cc49a33ebb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ujson: do not eat trailing whitespace</title>
<updated>2020-05-11T03:45:42+00:00</updated>
<author>
<name>warriorofwire</name>
<email>3454741+WarriorOfWire@users.noreply.github.com</email>
</author>
<published>2020-05-11T03:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eb3d5fa453bd04cc116e704c36a97250c93b7b4b'/>
<id>urn:sha1:eb3d5fa453bd04cc116e704c36a97250c93b7b4b</id>
<content type='text'>
Ujson should only worry about whitespace before JSON.  This becomes apparent when you are using MP stream protocol to read directly from input buffers.

When you attempt to read(1) on a UART (and possibly other protocols) you have to wait for either the byte or the timeout.

Fixes:
- Waiting for a timeout after you have completed reading a correct and complete JSON off the input.
- Raising an OSError after reading a correct and complete JSON off the input.
- Eating more data than semantically owned off the input buffer.
- Blocking to start parsing JSON until the entire JSON body has been loaded into a potentially large, contiguous Python object.

Code you would write before:
```
line = board_busio_uart_port.read_line()
json_dict = json.loads(line)
```
or reaching for fixed buffers and swapping them around in Python.

Code that did not work before that does now:
```
json_dict = json.load(board_busio_uart_port)
```

- This removes the need for intermediate copies of data when reading JSON from micropython stream protocol inputs.
- It also increases total application speed by parsing JSON concurrently with receiving on boards that read from UART via DMA.
- It simplifies code that users write while improving their apps.
</content>
</entry>
<entry>
<title>refactor countio based on feedback</title>
<updated>2020-05-05T05:23:38+00:00</updated>
<author>
<name>Daniel Pollard</name>
<email>daniel@learnweaver.com</email>
</author>
<published>2020-05-05T05:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bfa5cd9c13e308df5462653a53fe99eeb0543bc3'/>
<id>urn:sha1:bfa5cd9c13e308df5462653a53fe99eeb0543bc3</id>
<content type='text'>
</content>
</entry>
</feed>
