<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/main.c, branch 4.0.0-alpha.5</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-alpha.5</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-alpha.5'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-12-08T00:11:21+00:00</updated>
<entry>
<title>Fix running the USB task on nRF.</title>
<updated>2018-12-08T00:11:21+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-12-08T00:11:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=801d9a5abcd912d81d3a6a95e8cc22635fced3ef'/>
<id>urn:sha1:801d9a5abcd912d81d3a6a95e8cc22635fced3ef</id>
<content type='text'>
It wasn't being run due to a rework done only on the atmel-samd port.
The rework itself isn't needed now that the heap check triggers safe
mode instead of throwing a Python exception. So, I've removed the
rework.
</content>
</entry>
<entry>
<title>Rework safe mode and have heap overwrite trigger it.</title>
<updated>2018-12-06T22:24:20+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-12-06T22:24:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6ef863997186e1893cdf19c0e04d0a8a3f33ad9d'/>
<id>urn:sha1:6ef863997186e1893cdf19c0e04d0a8a3f33ad9d</id>
<content type='text'>
This creates a common safe mode mechanic that ports can share.
As a result, the nRF52 now has safe mode support as well.

The common safe mode adds a 700ms delay at startup where a reset
during that window will cause a reset into safe mode. This window
is designated by a yellow status pixel and flashing the single led
three times.

A couple NeoPixel fixes are included for the nRF52 as well.

Fixes #1034. Fixes #990. Fixes #615.
</content>
</entry>
<entry>
<title>Add stack validity check and raise an error when it happens.</title>
<updated>2018-12-05T07:26:04+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-10-23T00:57:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ad2e6ace34a6d417ec1b84472fa409d5451137b'/>
<id>urn:sha1:7ad2e6ace34a6d417ec1b84472fa409d5451137b</id>
<content type='text'>
The backtrace cannot be given because it relies on the validity
of the qstr data structures on the heap which may have been
corrupted.

In fact, it still can crash hard when the bytecode itself is
overwritten. To fix, we'd need a way to skip gathering the
backtrace completely.

This also increases the default stack size on M4s so it can
accomodate the stack needed by ASF4s nvm API.
</content>
</entry>
<entry>
<title>merge 3.x swap of /lib and .frozen; update frozen libs</title>
<updated>2018-11-15T20:00:23+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-11-15T20:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=11de8fdca76da455ce52ca0fdd46fb70ce237dd9'/>
<id>urn:sha1:11de8fdca76da455ce52ca0fdd46fb70ce237dd9</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>
<entry>
<title>put .frozen before /lib in sys.path; update frozen libraries</title>
<updated>2018-11-01T23:57:10+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-11-01T21:14:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4dfba2f8acec7d76fa61c13fcec662b6d957f69a'/>
<id>urn:sha1:4dfba2f8acec7d76fa61c13fcec662b6d957f69a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>network module c api into shared-module</title>
<updated>2018-10-11T03:02:18+00:00</updated>
<author>
<name>Nick Moore</name>
<email>nick@zoic.org</email>
</author>
<published>2018-10-11T03:02:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=823ff779cacb2c940d1e9e742c66dd89223f97ad'/>
<id>urn:sha1:823ff779cacb2c940d1e9e742c66dd89223f97ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change initialization method + mod_network names</title>
<updated>2018-10-04T12:31:47+00:00</updated>
<author>
<name>Nick Moore</name>
<email>nick@zoic.org</email>
</author>
<published>2018-10-04T12:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=15b59bee1b04323365da58338a6a70f9dd51fc79'/>
<id>urn:sha1:15b59bee1b04323365da58338a6a70f9dd51fc79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial Grand Central definition</title>
<updated>2018-09-06T23:54:13+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-08-31T19:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=32c616b5dd4fcf6882231d77fddcdc43f8671ca4'/>
<id>urn:sha1:32c616b5dd4fcf6882231d77fddcdc43f8671ca4</id>
<content type='text'>
It has a ton of pins in a Mega form-factor

This also includes a change to init the stack earlier. It fixes
a crash that occurs if the flash doesn't start correctly and the
original spot isn't reached.
</content>
</entry>
<entry>
<title>add pin claiming to devices</title>
<updated>2018-08-31T22:38:05+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-08-31T21:46:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9ea809bef73e6862103cd71802803122e97bf80b'/>
<id>urn:sha1:9ea809bef73e6862103cd71802803122e97bf80b</id>
<content type='text'>
</content>
</entry>
</feed>
