<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/lib, branch 4.0.0-beta.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-beta.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-beta.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2019-01-09T22:02:11+00:00</updated>
<entry>
<title>Add USB MIDI support for SAMD and nRF.</title>
<updated>2019-01-09T22:02:11+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-11-17T01:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b5e40f52c2b1c2890c866d7305e0e99b4811b7f5'/>
<id>urn:sha1:b5e40f52c2b1c2890c866d7305e0e99b4811b7f5</id>
<content type='text'>
The API should be identical to using a UART for MIDI.

Fixes #672
</content>
</entry>
<entry>
<title>Switch TinyUSB back to hathach's version. The merge commit of the commit we were on.</title>
<updated>2018-12-06T23:39:47+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-12-06T23:39:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=45b301856c9e10b8e942102d52f8d1c5fbb977b2'/>
<id>urn:sha1:45b301856c9e10b8e942102d52f8d1c5fbb977b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #1323 from notro/os_mkdir_a_b</title>
<updated>2018-11-27T22:08:51+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-11-27T22:08:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f6c73b35f9b69ed7490d15be36d9aa36bb9f792f'/>
<id>urn:sha1:f6c73b35f9b69ed7490d15be36d9aa36bb9f792f</id>
<content type='text'>
shared-module/os: Fix os.mkdir('a/b')</content>
</entry>
<entry>
<title>Update tinyusb to include control fixes.</title>
<updated>2018-11-23T21:28:10+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-11-23T20:51:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=324301e3bc23d3c5d2b7aebff745999c38532d19'/>
<id>urn:sha1:324301e3bc23d3c5d2b7aebff745999c38532d19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update TinyUSB with SAMD fixes.</title>
<updated>2018-11-14T22:54:00+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-11-14T22:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fd3178b2fe1f6ccb7dc1519d795b973b7ff4214a'/>
<id>urn:sha1:fd3178b2fe1f6ccb7dc1519d795b973b7ff4214a</id>
<content type='text'>
Fixes #1327
</content>
</entry>
<entry>
<title>Fix output overflow and make help translatable</title>
<updated>2018-11-10T00:41:08+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-11-10T00:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=355abc835ea75715b4dea38604ef64f8c4eeaa0f'/>
<id>urn:sha1:355abc835ea75715b4dea38604ef64f8c4eeaa0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Incorporate feedback:</title>
<updated>2018-11-09T19:33:56+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-11-09T19:33:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=43f7ca7985768c974b6881957b21d687c34413ba'/>
<id>urn:sha1:43f7ca7985768c974b6881957b21d687c34413ba</id>
<content type='text'>
* Clean up board defines.
* Add flush on eject and stay ejected.
* Swith back to NONE protocol for CDC.
</content>
</entry>
<entry>
<title>shared-module/os: Fix os.mkdir('a/b')</title>
<updated>2018-11-09T18:20:56+00:00</updated>
<author>
<name>Noralf Trønnes</name>
<email>noralf@tronnes.org</email>
</author>
<published>2018-11-09T17:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=28383afa11863f1fe289cc811c8eab403ea79f6f'/>
<id>urn:sha1:28383afa11863f1fe289cc811c8eab403ea79f6f</id>
<content type='text'>
This fixes commit a99f9427420d("'/' and '\' are also acceptable ends of the path now") which broke mkdir.
The problem is where the directory name is a single letter like this:
&gt;&gt;&gt; os.mkdir('a')
&gt;&gt;&gt; os.mkdir('a/b')
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
OSError: [Errno 17] File exists
&gt;&gt;&gt; os.mkdir('a/bb')
&gt;&gt;&gt;

I wasn't smart enough to fix this in the oofatfs library, so I did it in the os shared module by
creating a path lookup function for the os methods that only deals with directories. I reverted
the library change introduced by the aforementioned commit.

This means that os.stat and os.rename can't handle trailing slashes. This is to avoid allowing
filenames with trailing slashes to pass through. In order to handle trailing slashes for these
it would be necessary to check if it really is a directory before stripping. I didn't do this
since the original issue was to make os.chdir tolerate trailing slashes.

There's an open MicroPython issue #2929 wrt. trailing slashes and mkdir.
</content>
</entry>
<entry>
<title>Build refinement to handle warnings and quiet output</title>
<updated>2018-11-09T08:11:43+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-11-09T08:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=168e23e466737fd25d6c7a524231781e35d1d49a'/>
<id>urn:sha1:168e23e466737fd25d6c7a524231781e35d1d49a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move atmel-samd to tinyusb and support nRF flash.</title>
<updated>2018-11-09T01:25:30+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-10-20T01:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9d91111b1b6a1eee77a88b13faf695ee0c5caea3'/>
<id>urn:sha1:9d91111b1b6a1eee77a88b13faf695ee0c5caea3</id>
<content type='text'>
This started while adding USB MIDI support (and descriptor support is
in this change.) When seeing that I'd have to implement the MIDI class
logic twice, once for atmel-samd and once for nrf, I decided to refactor
the USB stack so its shared across ports. This has led to a number of
changes that remove items from the ports folder and move them into
supervisor.

Furthermore, we had external SPI flash support for nrf pending so I
factored out the connection between the usb stack and the flash API as
well. This PR also includes the QSPI support for nRF.
</content>
</entry>
</feed>
