Commit Graph

18560 Commits

Author SHA1 Message Date
microDev 92098ca06b
update docs, implement suggested changes 2020-12-12 05:15:25 +05:30
Hosted Weblate 54fcf127c7
Merge branch 'origin/main' into Weblate. 2020-12-11 23:00:50 +01:00
Dan Halbert eda3392f50
Merge pull request #3818 from dhalbert/apt-update
add apt-get update
2020-12-11 17:00:44 -05:00
BennyE 81c4871fdf Set DEBUG CFLAG if set in make 2020-12-11 22:11:39 +01:00
Dan Halbert 37c9f768b5 add apt-get update 2020-12-11 16:03:28 -05:00
BennyE 2de5eba6d1 add apt-get update 2020-12-11 21:17:07 +01:00
BennyE e3194ad54e Reserve UART pins only if DEBUG=1 is set to address issue 3811 2020-12-11 20:35:28 +01:00
Hosted Weblate 4becc00a7b
Merge branch 'origin/main' into Weblate. 2020-12-11 20:08:28 +01: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
Scott Shawcroft d920750756
Merge pull request #3815 from dhalbert/python3-mkenv-mk
Use $(PYTHON3) instead of $(PYTHON) in make actions
2020-12-11 11:08:15 -08:00
microDev 08e94e6a20
add more docs 2020-12-11 22:55:22 +05:30
Dan Halbert 39124b888b doc fixes 2020-12-11 09:03:45 -05:00
Dan Halbert 1daad63d2b add apt-get update 2020-12-11 08:34:40 -05:00
Dan Halbert cf938983e9 SleepMemory + set alarm.wake_alarm 2020-12-11 08:10:26 -05:00
microDev cb35abfd04
add docs, update translation & fix ota.flash() 2020-12-11 01:01:01 +05:30
Dan Halbert d83d46a52d Invoke scripts with 2020-12-10 14:28:22 -05:00
Dan Halbert 55f4110983 fix typo 2020-12-10 14:16:25 -05:00
Dan Halbert 5964163649 Initial SleepMemory code 2020-12-10 13:03:40 -05:00
microDev 6a4f74946f
reset ota module on every vm run 2020-12-10 16:48:58 +05:30
microDev 07015ad527
add ability to switch boot partition 2020-12-10 16:42:45 +05:30
microDev bfa2c604ef
add ability to flash in discontinuous chunks 2020-12-10 15:45:25 +05:30
microDev ed5add37f6
add ability to flash in continuous chunks 2020-12-10 14:36:49 +05:30
microDev dee86a014b
factor out esp_ota_end 2020-12-10 14:04:24 +05:30
microDev 20c3184c87
re-organize and clean-up 2020-12-10 12:34:56 +05:30
Hosted Weblate 8b98867f07
Merge branch 'origin/main' into Weblate. 2020-12-09 20:37:07 +01:00
Scott Shawcroft e9fd689d57
Merge pull request #3814 from mcauser2/main
Fix some spelling mistakes
2020-12-09 11:36:59 -08:00
Hosted Weblate 6af532f4f0
Merge branch 'origin/main' into Weblate. 2020-12-09 19:03:40 +01:00
Scott Shawcroft e14b148e62
Merge pull request #3803 from skieast/fix_i2c_hang_with_wifi
Working, tested with two i2c busses
2020-12-09 10:03:31 -08:00
Mike Causer eedcc98cc5 Fix some spelling mistakes 2020-12-10 02:52:18 +11: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
Scott Shawcroft 133013083a
Merge pull request #3808 from tannewt/panic_safe_mode
Enter safe mode after panic or brownout
2020-12-08 16:31:22 -08:00
Scott Shawcroft 57101d7da6
Merge pull request #3807 from tannewt/sleep_tweaks
Add `board_deinit` for use with sleep
2020-12-08 16:30:41 -08:00
Lucian Copeland f7c7324e60 Translations 2020-12-08 18:57:19 -05:00
Lucian Copeland 9a5006e241 Remove problematic calloc 2020-12-08 17:43:39 -05:00
Scott Shawcroft 0b4bcd9599
Fix build and more comments 2020-12-08 13:05:21 -08:00
Hosted Weblate a3fc20df0f
Merge branch 'origin/main' into Weblate. 2020-12-08 20:21:37 +01: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 93fade24ef
Merge pull request #3804 from microDev1/s2-reset
ESP32S2: Fix microcontroller.reset()
2020-12-08 11:21:29 -08:00
Scott Shawcroft d0a806d797
Enter safe mode after panic or brownout
Uses the IDF's reset reason. Does nothing before reset.

Fixes #3389
2020-12-08 11:03:24 -08: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
Hosted Weblate f261004080
Merge branch 'origin/main' into Weblate. 2020-12-08 19:20:11 +01:00
Dan Halbert 1df033465a
Merge pull request #3806 from pewpew-game/rotarydoc
Remove warning about lack of support on M0 from rotaryio
2020-12-08 13:20:03 -05:00
Radomir Dopieralski 2c546ab768 Remove warning about lack of support on M0 from rotaryio
It seems that this warning no longer applies.
2020-12-08 15:54:34 +01:00
microDev 2f95c94ad8
esp32s2 - update common_hal_mcu_reset 2020-12-08 18:00:58 +05:30
microDev 602243748b
add ota support for esp32s2 2020-12-08 11:45:00 +05:30
microDev fc23a0cc8a
implement ota module 2020-12-08 11:30:00 +05:30
Hosted Weblate a31fc3b08c
Merge branch 'origin/main' into Weblate. 2020-12-08 05:27:34 +01:00
Dan Halbert 7250925b98
Merge pull request #3802 from tannewt/fix_s2_safe_mode
Store safe mode state in the RTC.
2020-12-07 23:27:24 -05:00
Bruce Segal 571c063c2a Working, tested with two i2c busses 2020-12-07 17:57:54 -08:00