<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/main.c, branch 6.2.0-beta.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.2.0-beta.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.2.0-beta.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2021-01-21T03:16:56+00:00</updated>
<entry>
<title>Fix press any key message</title>
<updated>2021-01-21T03:16:56+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2021-01-21T02:40:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fb1e0106b51a03007eae71cc8489b85d1cdb9bda'/>
<id>urn:sha1:fb1e0106b51a03007eae71cc8489b85d1cdb9bda</id>
<content type='text'>
</content>
</entry>
<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>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>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>Fix some spelling mistakes</title>
<updated>2020-12-09T15:52:18+00:00</updated>
<author>
<name>Mike Causer</name>
<email>mcauser@gmail.com</email>
</author>
<published>2020-12-09T15:52:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eedcc98cc5379f93704fd344289e2f5c8a60eddd'/>
<id>urn:sha1:eedcc98cc5379f93704fd344289e2f5c8a60eddd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix build and more comments</title>
<updated>2020-12-08T21:05:21+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-12-08T21:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0b4bcd9599cc07ff85d6a70297ae86ff3b02cdec'/>
<id>urn:sha1:0b4bcd9599cc07ff85d6a70297ae86ff3b02cdec</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>Include wifi.radio singleton in gc</title>
<updated>2020-12-07T16:07:56+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-12-07T16:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=169b4875099869d5d2549e9b717516e4045428d0'/>
<id>urn:sha1:169b4875099869d5d2549e9b717516e4045428d0</id>
<content type='text'>
</content>
</entry>
</feed>
