<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/supervisor/supervisor.mk, 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-15T14:26:47+00:00</updated>
<entry>
<title>supervisor: Add a linked list of background callbacks</title>
<updated>2020-07-15T14:26:47+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-05-11T13:37:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1474fccd2fb1cf6ccd14979a3b5405d2a355054b'/>
<id>urn:sha1:1474fccd2fb1cf6ccd14979a3b5405d2a355054b</id>
<content type='text'>
In time, we should transition interrupt driven background tasks out of the
overall run_background_tasks into distinct background callbacks,
so that the number of checks that occur with each tick is reduced.
</content>
</entry>
<entry>
<title>supervisor.mk: Conditionally assign USB_DEVICES</title>
<updated>2020-06-24T14:44:45+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jeff@adafruit.com</email>
</author>
<published>2020-06-24T14:44:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bf460ddf25ead020c6aeeb9ac4393ddf17daf7bb'/>
<id>urn:sha1:bf460ddf25ead020c6aeeb9ac4393ddf17daf7bb</id>
<content type='text'>
This restores the ability to remove CDC and/or MSC, at the price of
giving up the new automatic check that USB_DEVICES is correct.
Since devices have to have CDC and MSC to be "CircuitPython",
this is not a facility that is going to be used by any in-tree drivers.</content>
</entry>
<entry>
<title>supervisor.mk: Compute USB_DEVICES; remove from boards and ports</title>
<updated>2020-06-23T17:59:01+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2020-06-16T00:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f232aef7865c4e094f060f9766418f60fb9f86ea'/>
<id>urn:sha1:f232aef7865c4e094f060f9766418f60fb9f86ea</id>
<content type='text'>
Since Actions passed on the previous commit, where this computed value
was checked against the specified value (if any), this is no net change,
except that we no longer need to specify it for particular boards or
ports.
</content>
</entry>
<entry>
<title>supervisor.mk: Compute what USB_DEVICES should be, and check it against what it is</title>
<updated>2020-06-16T00:14:57+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2020-06-15T19:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8bbd539031fbcc9366c51f1d06c77a72d240d812'/>
<id>urn:sha1:8bbd539031fbcc9366c51f1d06c77a72d240d812</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial ESP32S2 port.</title>
<updated>2020-05-15T22:36:16+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-04-17T23:23:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6aaab005c5f3a781fec229640c74bf44a601fc97'/>
<id>urn:sha1:6aaab005c5f3a781fec229640c74bf44a601fc97</id>
<content type='text'>
Basic blinky works but doesn't check pins.
</content>
</entry>
<entry>
<title>Fix USB midi and hid disable.</title>
<updated>2020-04-21T21:15:44+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-04-21T21:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dcb0e50f040c4213a7591253cb3a0bb4ea9a178d'/>
<id>urn:sha1:dcb0e50f040c4213a7591253cb3a0bb4ea9a178d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reset NeoPixels on CPB on soft reload</title>
<updated>2020-01-24T01:16:31+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-01-24T01:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=68f9aee992ffcc12ed2e9f143f353b18fa12c1c3'/>
<id>urn:sha1:68f9aee992ffcc12ed2e9f143f353b18fa12c1c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>working on all ports</title>
<updated>2019-12-11T01:27:30+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-12-10T22:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=013c84086288141696e4c09250c61b6f2dbdf4d2'/>
<id>urn:sha1:013c84086288141696e4c09250c61b6f2dbdf4d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wip</title>
<updated>2019-12-06T03:45:53+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-12-06T03:45:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40434d691934cf7f5792f91ce0288beb568bab85'/>
<id>urn:sha1:40434d691934cf7f5792f91ce0288beb568bab85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Supervisor: move most of systick to the supervisor</title>
<updated>2019-11-18T17:01:23+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2019-11-18T14:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f744a2369a5036cadfa05575da1704f709c98bb'/>
<id>urn:sha1:7f744a2369a5036cadfa05575da1704f709c98bb</id>
<content type='text'>
This code is shared by most parts, except where not all the #ifdefs
inside the tick function were present in all ports.  This mostly would
have broken gamepad tick support on non-samd ports.

The "ms32" and "ms64" variants of the tick functions are introduced
because there is no 64-bit atomic read.  Disabling interrupts avoids
a low probability bug where milliseconds could be off by ~49.5 days
once every ~49.5 days (2^32 ms).

Avoiding disabling interrupts when only the low 32 bits are needed is a minor
optimization.

Testing performed: on metro m4 express, USB still works and
time.monotonic_ns() still counts up
</content>
</entry>
</feed>
