<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/supervisor/shared/tick.c, branch 6.1.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-12-26T18:39:48+00:00</updated>
<entry>
<title>Add include to tick.c for mp_hal_is_interrupted()</title>
<updated>2020-12-26T18:39:48+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@adafruit.com</email>
</author>
<published>2020-12-26T18:39:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=938a0fa2fc9ffaba15f345f102a34c5354166c4a'/>
<id>urn:sha1:938a0fa2fc9ffaba15f345f102a34c5354166c4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add alarm.pin that wakes on pin level</title>
<updated>2020-12-16T02:12:59+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-12-09T01:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1ad49d9a18224ecc53d8f49d0675a369274556ce'/>
<id>urn:sha1:1ad49d9a18224ecc53d8f49d0675a369274556ce</id>
<content type='text'>
Fixes #3787
</content>
</entry>
<entry>
<title>Add `board_deinit` for use with sleep</title>
<updated>2020-12-08T18:52:25+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-12-03T02:05:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40118bcf57f026fd6a58733501c759a9ba87e835'/>
<id>urn:sha1:40118bcf57f026fd6a58733501c759a9ba87e835</id>
<content type='text'>
This changes lots of files to unify `board.h` across ports. It adds
`board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to
deinit the board before deep sleeping (even when pretending.)

Deep sleep is now a two step process for the port. First, the
port should prepare to deep sleep based on the given alarms. It
should set alarms for both deep and pretend sleep. In particular,
the pretend versions should be set immediately so that we don't
miss an alarm as we shutdown. These alarms should also wake from
`port_idle_until_interrupt` which is used when pretending to deep
sleep.

Second, when real deep sleeping, `alarm_enter_deep_sleep` is called.
The port should set any alarms it didn't during prepare based on
data it saved internally during prepare.

ESP32-S2 sleep is a bit reorganized to locate more logic with
TimeAlarm. This will help it scale to more alarm types.

Fixes #3786
</content>
</entry>
<entry>
<title>Finer grained, per port tick locking</title>
<updated>2020-10-13T01:43:21+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-10-13T01:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=379e73af2e55b1f0c517883360e29d5dbc27a20b'/>
<id>urn:sha1:379e73af2e55b1f0c517883360e29d5dbc27a20b</id>
<content type='text'>
Fixes #3504 hopefully.
</content>
</entry>
<entry>
<title>merge from upstream</title>
<updated>2020-08-30T18:39:03+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-08-30T18:39:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6dbd369272c4bedea4e00c1dca80d0b3ee2d6781'/>
<id>urn:sha1:6dbd369272c4bedea4e00c1dca80d0b3ee2d6781</id>
<content type='text'>
</content>
</entry>
<entry>
<title>supervisor: use mp_handle_pending to check for exceptions</title>
<updated>2020-08-23T14:12:01+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-08-23T14:03:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1033e89561d6535f32aa4cfd3541ffd9683a1123'/>
<id>urn:sha1:1033e89561d6535f32aa4cfd3541ffd9683a1123</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wip: compiles</title>
<updated>2020-08-02T15:36:38+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-08-02T15:36:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a60aee3e4270d1da42d67f933578d60d56b8b52'/>
<id>urn:sha1:0a60aee3e4270d1da42d67f933578d60d56b8b52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>supervisor: rename some locals for clarity</title>
<updated>2020-07-20T13:45:31+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-20T13:45:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9fd10322fedc4a7736118fdb6cb1480ad8da94f1'/>
<id>urn:sha1:9fd10322fedc4a7736118fdb6cb1480ad8da94f1</id>
<content type='text'>
It's perfectly OK for these variables with static linkage to have the
same name, but it's inconvenient for humans like me.
</content>
</entry>
<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: tick: only run background tasks once per tick</title>
<updated>2020-07-15T14:26:47+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-09T14:47:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8c4a9f644407ee6fccf3720fd3b727085a2ff109'/>
<id>urn:sha1:8c4a9f644407ee6fccf3720fd3b727085a2ff109</id>
<content type='text'>
</content>
</entry>
</feed>
