<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/atmel-samd/background.c, 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-15T16:49:44+00:00</updated>
<entry>
<title>supervisor: factor supervisor_background_tasks from sundry ports</title>
<updated>2020-07-15T16:49:44+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-13T15:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1df48176ce2e4111c4629269cb86d2a6e365a3d2'/>
<id>urn:sha1:1df48176ce2e4111c4629269cb86d2a6e365a3d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>supervisor: factor out, Handle USB via background callback</title>
<updated>2020-07-15T16:49:44+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-07T16:14:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6160d11c5a04f60e54ce977fd73fafa5ba858aa0'/>
<id>urn:sha1:6160d11c5a04f60e54ce977fd73fafa5ba858aa0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>samd: audio: Move to background callback</title>
<updated>2020-07-15T14:26:47+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-07T15:11:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=742aa740f651c72a5991250d9ac898492e99389d'/>
<id>urn:sha1:742aa740f651c72a5991250d9ac898492e99389d</id>
<content type='text'>
Testing performed: Played half of the Bartlebeats album :) :)
</content>
</entry>
<entry>
<title>Initial work on SAMD</title>
<updated>2020-03-13T18:16:41+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-03-13T06:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=48b5f2a384e7ecc10ee51b453934a009ea9dc48d'/>
<id>urn:sha1:48b5f2a384e7ecc10ee51b453934a009ea9dc48d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>samd: background: Allow monitoring time taken in background task</title>
<updated>2019-11-18T17:01:24+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2019-11-18T16:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40a47d41dfea885ecfbc6a6fe1fc2ec5124a293b'/>
<id>urn:sha1:40a47d41dfea885ecfbc6a6fe1fc2ec5124a293b</id>
<content type='text'>
If you define MONITOR_BACKGROUND_TASK, then a physical output pin
(Metro M4 Express's "SCL" pin by default) will be set HIGH while in
the background task and LOW at other times
</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>
<entry>
<title>Begin refresh rework.</title>
<updated>2019-08-22T21:08:33+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-08-14T21:17:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c247e7df9c043dc6a452a6cabc7bf232c0e9e085'/>
<id>urn:sha1:c247e7df9c043dc6a452a6cabc7bf232c0e9e085</id>
<content type='text'>
</content>
</entry>
<entry>
<title>samd: audio_dma, audio_background: Gate with CIRCUITPY_ defines</title>
<updated>2019-08-08T02:29:24+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2019-08-08T02:29:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=33b949abfa9ab798a3de9d3b9ce3d2cbdbad10d0'/>
<id>urn:sha1:33b949abfa9ab798a3de9d3b9ce3d2cbdbad10d0</id>
<content type='text'>
Some ports which actually don't have audioio or audiobusio were still
calling into audio_dma_background().  This wasn't an error until
the assignment to audio_dma_state in audio_dma_stop was added, though
it's not clear why.
</content>
</entry>
<entry>
<title>Don't let a background task call run_background_tasks()</title>
<updated>2019-04-10T00:23:01+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-04-10T00:23:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d633928a160ee029fa1a16f10e62f6628020aaef'/>
<id>urn:sha1:d633928a160ee029fa1a16f10e62f6628020aaef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>flush flash filesystem once a second</title>
<updated>2019-03-20T16:21:36+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-03-20T16:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2459eabd66169d18f3f223c942cc73152ce6de68'/>
<id>urn:sha1:2459eabd66169d18f3f223c942cc73152ce6de68</id>
<content type='text'>
</content>
</entry>
</feed>
