Commit Graph

891 Commits

Author SHA1 Message Date
microDev c7f68022ef
add pretend-to-sleep functionality 2020-12-30 22:11:22 +05:30
microDev ecd7c0878e
expose wake pin parameter and more tweaks 2020-12-19 20:54:36 +05:30
microDev 8eaf2b0c19
implement touch alarm 2020-12-18 12:54:36 +05:30
Wellington Terumi Uemura 109b6baee4
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (879 of 879 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-12-16 18:00:02 +01:00
Hosted Weblate 2de9f18121
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-15 22:31:58 +01:00
hierophect 3ad4b12ce1
Merge branch 'main' into esp-analog-hang 2020-12-15 15:08:30 -05:00
Hosted Weblate 9fd652111a
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-15 02:40:11 +01:00
Hosted Weblate f267c327bd
Merge branch 'origin/main' into Weblate. 2020-12-15 02:40:09 +01:00
Lucian Copeland cac755ba16 Merge remote-tracking branch 'upstream/main' into esp-analog-hang 2020-12-14 13:00:57 -05:00
Lucian Copeland dc560f0eee translations 2020-12-14 13:00:07 -05:00
Dan Halbert e0bb4a808a make translate 2020-12-14 11:49:01 -05:00
Wellington Terumi Uemura 8d9d53a07c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (877 of 877 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-12-11 20:08:28 +01:00
Hosted Weblate cea6c3d8d6
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-09 01:34:28 +01:00
Hosted Weblate fea25c1c5e
Merge branch 'origin/main' into Weblate. 2020-12-09 01:34:27 +01:00
Lucian Copeland f7c7324e60 Translations 2020-12-08 18:57:19 -05:00
Antonin ENFRUN 0ff0bb9ec4
Translated using Weblate (French)
Currently translated at 97.3% (852 of 875 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2020-12-08 20:21:37 +01:00
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
Jonny Bergdahl ac8a9625de
Translated using Weblate (Swedish)
Currently translated at 100.0% (875 of 875 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-12-07 21:26:30 +01:00
Jonny Bergdahl bb1b2bd787
Translated using Weblate (Swedish)
Currently translated at 99.7% (873 of 875 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-12-06 00:29:08 +01:00
vkuthan 11d829e20e
Translated using Weblate (Czech)
Currently translated at 3.7% (33 of 875 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2020-12-04 19:33:05 +01:00
Wellington Terumi Uemura db04582af9
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (875 of 875 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-12-04 07:29:01 +01: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