<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-bindings/alarm/__init__.h, branch 6.1.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-12-30T21:14:20+00:00</updated>
<entry>
<title>update wake-alarm implementation</title>
<updated>2020-12-30T21:14:20+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2020-12-30T21:14:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0bad6110d4f2c1b66560dccb2eaf54f563d8f5a8'/>
<id>urn:sha1:0bad6110d4f2c1b66560dccb2eaf54f563d8f5a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A couple sleep fixes</title>
<updated>2020-12-23T00:13:02+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-12-23T00:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1fca297a2d2bfefb1cdef3ecbac05f54d15e08eb'/>
<id>urn:sha1:1fca297a2d2bfefb1cdef3ecbac05f54d15e08eb</id>
<content type='text'>
* Better messaging when code is stopped by an auto-reload.
* Auto-reload works during sleeps on ESP32-S2. Ticks wake up the
  main task each time.
* Made internal naming consistent. CamelCase Python names are NOT
  separated by an underscore.
</content>
</entry>
<entry>
<title>mark alarm.wake_alarm during gc sweep</title>
<updated>2020-12-22T16:11:01+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-12-22T15:06:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d4e9eea397c887d9eceb5f4c6aba117a4dc3d03b'/>
<id>urn:sha1:d4e9eea397c887d9eceb5f4c6aba117a4dc3d03b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SleepMemory + set alarm.wake_alarm</title>
<updated>2020-12-11T13:10:26+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-12-11T13:10:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cf938983e9c584b0c41a909723dc71e9161cc494'/>
<id>urn:sha1:cf938983e9c584b0c41a909723dc71e9161cc494</id>
<content type='text'>
</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>address review comments</title>
<updated>2020-12-02T01:01:14+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-12-02T01:01:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b7c23c1ee5d3fbfbda9116d6689e99f44e3b95a'/>
<id>urn:sha1:8b7c23c1ee5d3fbfbda9116d6689e99f44e3b95a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>working! PinAlarm not implemented yet.</title>
<updated>2020-11-27T21:03:37+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-11-27T21:02:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e308a9ec1134412f6194358790176d17b0724ef1'/>
<id>urn:sha1:e308a9ec1134412f6194358790176d17b0724ef1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>deep sleep working; deep sleep delay when connected</title>
<updated>2020-11-27T03:06:37+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-11-27T03:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=104a089677d62de3554deea7850796dfbb29b1fc'/>
<id>urn:sha1:104a089677d62de3554deea7850796dfbb29b1fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changed alarm.time API</title>
<updated>2020-11-25T20:09:27+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-11-25T20:07:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9dbea36eac9a78cf324bba8d32a5cb2c9940d411'/>
<id>urn:sha1:9dbea36eac9a78cf324bba8d32a5cb2c9940d411</id>
<content type='text'>
</content>
</entry>
<entry>
<title>working, but need to avoid deep sleeping too fast before USB ready</title>
<updated>2020-11-24T03:44:53+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-11-24T03:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7a45afc54919162df342fab421ed113ff1771d01'/>
<id>urn:sha1:7a45afc54919162df342fab421ed113ff1771d01</id>
<content type='text'>
</content>
</entry>
</feed>
