Commit Graph

18471 Commits

Author SHA1 Message Date
Hosted Weblate d999a1d6a9
Merge branch 'origin/main' into Weblate. 2020-11-18 02:11:47 +01:00
Scott Shawcroft 18513dedd1
Merge pull request #3710 from jepler/esp32-i2c-crash
esp32: Two random changes that also fixed the I2C crash for me
2020-11-17 17:11:41 -08:00
Hosted Weblate ec591e9d7d
Merge branch 'origin/main' into Weblate. 2020-11-18 02:07:07 +01:00
Jeff Epler 226715b147
Merge pull request #3705 from jepler/try-ubuntu-20.04
Switch our workflows to ubuntu 20.04
2020-11-17 19:07:01 -06: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
Jeff Epler 9206925bf8 esp32s2: port_get_raw_ticks: Use a more efficient, monotonic routine
While trying to debug #3572, I noticed that I would frequently break in
the midst of gettimeofday and that the routine get_adjusted_boot_time
had to take and release locks.  Furthermore, we don't want "adjusted"
boot time, which could go forwards or backwards depending on the
adjustment (such as setting the clock used by gettimeofday() to the network
time)
2020-11-17 17:45:41 -06:00
Jeff Epler 1bc770c3dc esp32s2: PulseIn: Fix supervisor tick enabling
Before, there were two problems:
 * Even if a pulsein was never constructed, supervisor_disable_tick
   would occur during restart.  This could cancel out a supervisor_enable_tick
   from someplace else, with unexpected results.
 * If two or more pulseins were constructed, each one would enable ticks,
   but only the last one deinited (or the reset routine) would disable,
   leaving ticks running indefinitely.

In my testing, it seemed that this led to the board sometimes stopping when
it should have auto-reloaded.
2020-11-17 17:45:41 -06:00
Scott Shawcroft e2b5ae2d77
Merge pull request #3689 from jepler/issue-3688
esp32s2: wifi: fix several debug-build errors
2020-11-17 13:26:43 -08:00
Jeff Epler a185549316
Merge pull request #3706 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-11-17 15:21:21 -06:00
Lucian Copeland 0bbdf05936 Implement recvfrom_into and sendto for UDP 2020-11-17 16:11:04 -05:00
Jeff Epler a0d305042c fix ubuntu-latest stragglers 2020-11-17 09:02:30 -06:00
Jeff Epler 7750b4d671 actions: Disable pagination of 'aws' commands
An anticipatory workaround for
https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-output-pager
2020-11-17 09:02:30 -06:00
jgillick 5f0a372a22 Merge tag '6.0.0' into thunderpack1.2 2020-11-17 00:02:24 -08:00
jgillick 119e9d3820 Add Thunderpack 1.2 2020-11-16 23:50:00 -08: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
Scott Shawcroft 66fb095069
Merge pull request #3667 from microDev1/watchdog-s2
ESP32S2: Support for WatchDog
2020-11-16 15:01:54 -08:00
Scott Shawcroft f4fd236605
Merge pull request #3698 from BennyE/disablesoftap
esp32s2: Set station mode early to avoid SoftAP on startup
2020-11-16 14:51:57 -08:00
Scott Shawcroft 516a85aafe
Merge pull request #3702 from DavePutz/issue2056
Issue2056 - Prevent tracebacks from accumulating in REPL
2020-11-16 14:37:00 -08:00
Scott Shawcroft f8eed1f74c
Merge pull request #3691 from jepler/issue-3424
esp32s2: Update esp-idf submodule to include fix for #3424
2020-11-16 14:21:13 -08:00
Scott Shawcroft 45ea2c5fb6
Merge pull request #3692 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-11-16 14:05:59 -08:00
Jeff Epler 9c4b6c34b8 see what happens if workflows move to ubuntu 20.04 2020-11-16 16:03:29 -06:00
microDev 0686cde226
update internal nvm size 2020-11-17 01:19:12 +05:30
microDev 18e463cca5
add pcnt overflow handler & clean-up 2020-11-16 23:32:22 +05:30
Dan Halbert ffff02c053 Merge remote-tracking branch 'adafruit/main' into sleep 2020-11-16 12:06:11 -05:00
Dan Halbert bb77f1d130 wip: initial code changes, starting from @tannewt's sleepio branch 2020-11-16 11:56:20 -05:00
root 0cd951fb73 Prevent exceptions from accumulating in REPL 2020-11-16 10:36:05 -06:00
DavePutz 3abc671bbd
Merge pull request #34 from adafruit/main
Update from adafruit/main
2020-11-16 10:30:10 -06:00
microDev f2824f6a68
update frequency measurement 2020-11-16 12:55:55 +05:30
microDev 2bec02738f
move interrupt handler to iram 2020-11-16 11:44:11 +05:30
BennyE d4ab00f734 Set station mode early to avoid SoftAP on startup 2020-11-16 00:31:06 +01:00
microDev c4917cdabd
frequencyio implementation for esp32s2 2020-11-16 00:11:00 +05:30
hexthat 64725190f4
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (846 of 846 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2020-11-15 17:28:50 +01:00
Jonny Bergdahl 8218eb2ddf
Translated using Weblate (Swedish)
Currently translated at 100.0% (846 of 846 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-11-15 17:28:49 +01:00
Antonin ENFRUN 76d60ba95b
Translated using Weblate (French)
Currently translated at 100.0% (846 of 846 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2020-11-15 17:28:48 +01:00
RubenD 6c3c076cc1
Translated using Weblate (Spanish)
Currently translated at 99.2% (840 of 846 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-11-15 17:28:48 +01:00
Limor "Ladyada" Fried f2e911ad91
Merge pull request #3680 from tannewt/magtag_builtin_display
Add board.DISPLAY to MagTag. Fix luma computation
2020-11-14 11:47:45 -05:00
Jeff Epler 231e3d362d esp32s2: Update esp-idf submodule to include fix for #3424
This re-points the submodule to my personal fork of esp-idf.
Users may need to `git submodule sync` in their existing trees when
this change occurs.

Adds just the following commit in esp-idf:
  > esp_crt_bundle: Allow verify_callback to correct BADCERT_BAD_MD
2020-11-14 10:16:39 -06:00
microDev 146adca060
Add watchdog mode raise 2020-11-14 11:41:14 +05:30
Scott Shawcroft bda3267432
Save flash space
* No weak link for modules. It only impacts _os and _time and is
  already disabled for non-full builds.
* Turn off PA00 and PA01 because they are the crystal on the Metro
  M0 Express.
* Change ejected default to false to move it to BSS. It is set on
  USB connection anyway.
* Set sinc_filter to const. Doesn't help flash but keeps it out of
  RAM.
2020-11-13 18:57:52 -08:00
Scott Shawcroft 68eb809fbf
Update parallel bus signatures 2020-11-13 18:57:52 -08:00
Scott Shawcroft 78ccac930f
Add .busy property to EPaperDisplay 2020-11-13 18:57:52 -08:00
Scott Shawcroft 8d4296f964
Add board.DISPLAY to MagTag. Fix luma computation
* Initialize the EPaper display on the MagTag at start.
* Tweak the display send to take a const buffer.
* Correct Luma math
  * Multiply the blue component, not add.
  * Add all of the components together before dividing. This
    reduces the impact of truncated division.
2020-11-13 18:57:52 -08:00
Scott Shawcroft 9169878ebb
Merge pull request #3687 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-11-13 17:54:58 -08:00
Jeff Epler 0f7081781e esp32s2: wifi: fix several debug-build errors
Closes #3688

With this change, I don't get the ESP_ERROR_CHECK failed repeatedly
running code that imports wifi.  (I'm not getting a successful connection
but that's probably my own fault, such as a secrets problem)
2020-11-12 20:40:45 -06:00
Hosted Weblate 1145fcaf3e
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-12 23:52:01 +01:00
Hosted Weblate 281e10fff5
Merge branch 'origin/main' into Weblate. 2020-11-12 23:51:59 +01:00
sporeball 2f2fe10e12
Translated using Weblate (Japanese)
Currently translated at 71.8% (607 of 845 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ja/
2020-11-12 23:51:58 +01:00
Scott Shawcroft 8d3a878152
Merge pull request #3681 from adafruit/6.0.x
Merge protomatter update back into `main`
2020-11-12 14:51:53 -08:00
Scott Shawcroft c9952798fb
Merge pull request #3683 from BHDynamics/dynossat_edu
Rename pins on dynossat_edu_eps to make them the same as the Arduino core
2020-11-12 12:33:16 -08:00
Scott Shawcroft 5f84b790a7
Merge pull request #3682 from microDev1/pcnt-reset
ESP32S2: Reset PCNT on user code reload
2020-11-12 12:31:18 -08:00