Scott Shawcroft
40118bcf57
Add `board_deinit` for use with sleep
...
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
2020-12-08 10:52:25 -08:00
Hosted Weblate
03d0ec85a1
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-12-02 22:23:14 +01:00
Hosted Weblate
079bf7ab94
Merge branch 'origin/main' into Weblate.
2020-12-02 22:23:12 +01:00
Scott Shawcroft
1130b80e2a
Merge pull request #3612 from gamblor21/bus_device
...
Moving Adafruit_CircuitPython_BusDevice to core
2020-12-02 13:23:02 -08:00
Hosted Weblate
7655102ef2
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-12-02 21:51:54 +01:00
Hosted Weblate
8f6baa212f
Merge branch 'origin/main' into Weblate.
2020-12-02 21:51:52 +01:00
Scott Shawcroft
d7ba641ff6
Merge pull request #3767 from dhalbert/sleep
...
Initial alarm and sleep PR: time alarms with light and deep sleep; PinAlarms not yet implemented
2020-12-02 12:51:43 -08:00
vkuthan
9e6b2b1da8
Translated using Weblate (Czech)
...
Currently translated at 3.2% (28 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2020-12-02 21:29:04 +01:00
Maciej Stankiewicz
1c00deb8be
Translated using Weblate (Polish)
...
Currently translated at 71.8% (621 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-02 21:29:04 +01:00
Mark
237385798c
Merge branch 'main' into bus_device
2020-12-01 15:47:16 -06:00
Maciej Stankiewicz
2b9ca4d48a
Translated using Weblate (Polish)
...
Currently translated at 70.9% (613 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-01 20:56:03 +01:00
Szymon Jakubiak
44e0d98c62
Translated using Weblate (Polish)
...
Currently translated at 70.9% (613 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-01 20:56:03 +01:00
Maciej Stankiewicz
f6cba4c974
Translated using Weblate (Polish)
...
Currently translated at 70.7% (611 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-01 20:53:22 +01:00
Szymon Jakubiak
a95285ad36
Translated using Weblate (Polish)
...
Currently translated at 70.7% (611 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-01 20:53:21 +01:00
vkuthan
205d135e1a
Translated using Weblate (Czech)
...
Currently translated at 1.8% (16 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2020-11-30 19:06:37 +01:00
Jonny Bergdahl
f65449027a
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (864 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-11-30 19:06:37 +01:00
Wellington Terumi Uemura
5e5045ddf1
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (864 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-11-30 19:06:36 +01:00
Dan Halbert
2830cc9433
make translate
2020-11-27 23:57:59 -05:00
Dan Halbert
596e0e4bd2
merge from upstream
2020-11-27 16:06:57 -05:00
Dan Halbert
e308a9ec11
working! PinAlarm not implemented yet.
2020-11-27 16:03:37 -05:00
sporeball
884028c748
Translated using Weblate (Japanese)
...
Currently translated at 69.2% (598 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ja/
2020-11-27 19:34:06 +01:00
Iván Montiel Cardona
518328c71e
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (864 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-11-27 19:34:06 +01:00
Hosted Weblate
9c779c7ab7
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-11-26 04:11:29 +01:00
Hosted Weblate
c1be2c0c19
Merge branch 'origin/main' into Weblate.
2020-11-26 04:11:27 +01:00
Daniel Bravo Darriba
cb14a2a824
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (864 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-11-26 04:11:26 +01:00
Daniel Bravo Darriba
715b09bff2
Translated using Weblate (German)
...
Currently translated at 85.8% (742 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2020-11-26 04:11:26 +01:00
Jeff Epler
7923aa0a62
Merge pull request #3708 from hierophect/esp32s2-udp
...
ESP32-S2: Add UDP with recvfrom_into and sendto
2020-11-25 21:11:20 -06:00
Dan Halbert
ef0830bfe2
merge from upstream + wip
2020-11-25 17:52:06 -05:00
Dan Halbert
9dbea36eac
changed alarm.time API
2020-11-25 15:09:27 -05:00
Mitsuharu Aoyama
be44c16e25
Translated using Weblate (Japanese)
...
Currently translated at 69.0% (597 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ja/
2020-11-25 02:11:52 +01:00
hierophect
510f464234
Merge branch 'main' into esp32s2-udp
2020-11-24 18:28:10 -05:00
Wellington Terumi Uemura
4ca50982b7
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (864 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-11-25 00:22:30 +01:00
Hosted Weblate
ff7bab12aa
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-11-24 23:45:47 +01:00
Hosted Weblate
7ca1cf6e22
Merge branch 'origin/main' into Weblate.
2020-11-24 23:45:45 +01:00
Wellington Terumi Uemura
241d920757
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (863 of 863 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-11-24 23:45:45 +01:00
Antonin ENFRUN
966e0b256c
Translated using Weblate (French)
...
Currently translated at 98.2% (848 of 863 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2020-11-24 23:45:44 +01:00
Scott Shawcroft
669f17e5bf
Merge pull request #3678 from microDev1/nvm-s2
...
ESP32S2: Support for NVM
2020-11-24 14:45:35 -08:00
Lucian Copeland
e83c481f0f
translations
2020-11-24 15:40:27 -05:00
microDev
bbe13490b5
Merge branch 'main' into nvm-s2
2020-11-24 12:24:48 +05:30
Hosted Weblate
bb064d7198
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-11-24 00:17:56 +01:00
Jeff Epler
9d8be648ee
ulab: Update to release tag 1.1.0
...
Disable certain classes of diagnostic when building ulab. We should
submit patches upstream to (A) fix these errors and (B) upgrade their
CI so that the problems are caught before we want to integrate with
CircuitPython, but not right now.
2020-11-23 10:23:50 -06:00
Dan Halbert
75559f35cc
wip: ResetReason to microcontroller.cpu
2020-11-21 23:29:52 -05:00
Jonny Bergdahl
7b5e826b18
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (848 of 848 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-11-20 23:28:56 +01:00
Noel Gaetan
f25ac45534
Translated using Weblate (French)
...
Currently translated at 100.0% (848 of 848 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2020-11-20 23:28:56 +01:00
Dan Halbert
cd436bad1a
Merge remote-tracking branch 'adafruit/main' into sleep
2020-11-19 15:43:49 -05:00
Dan Halbert
5bb3c321e9
merge from main
2020-11-19 00:29:14 -05:00
Dan Halbert
682054a216
WIP: redo API; not compiled yet
2020-11-19 00:23:27 -05:00
hexthat
b98835a1d7
Translated using Weblate (Chinese (Pinyin))
...
Currently translated at 100.0% (848 of 848 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2020-11-19 02:28:48 +01:00
Wellington Terumi Uemura
8ae7b99627
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (848 of 848 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-11-18 01:28:48 +01:00
Hosted Weblate
3b27810a3a
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-11-17 00:02:02 +01:00