Commit Graph

27140 Commits

Author SHA1 Message Date
Tsutomu IKEGAMI
4c06915c47 Rename _uasyncio to _asyncio.
Register _asyncio module in CP manner.
2022-02-23 18:44:55 +09:00
Tsutomu IKEGAMI
2e4ad1a3f8 Revert ticks implementation for Mac build, too. 2022-02-22 18:16:15 +09:00
Tsutomu IKEGAMI
bccb09b0ea Revert ticks implementation for unix build. 2022-02-22 17:49:23 +09:00
Tsutomu IKEGAMI
6b7ad72f8f Add __await__ method to Task class. 2022-02-22 17:11:11 +09:00
Tsutomu IKEGAMI
0929353e5c Merge branch 'main' into enable_uasyncio 2022-02-22 16:53:10 +09:00
Dan Halbert
1603dbb2d3
Merge pull request #6073 from prplz/msgpack-unpack-requires-readable
msgpack.unpack requires a readable stream
2022-02-21 12:06:07 -05:00
Dan Halbert
debe29c34b
Merge pull request #6062 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-02-21 07:40:33 -05:00
Wellington Terumi Uemura
87366c13ab
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1051 of 1051 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-02-21 09:55:45 +01:00
Michael Himing
4bd64885b4 msgpack.unpack requires a readable stream 2022-02-21 09:16:36 +11:00
Hosted Weblate
b6caac0f9e
Merge remote-tracking branch 'origin/main' 2022-02-19 21:22:39 +01:00
Jonny Bergdahl
5836cd638a
Translated using Weblate (Swedish)
Currently translated at 100.0% (1051 of 1051 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-02-19 21:22:39 +01:00
Dan Halbert
b5b04fb9d0
Merge pull request #6068 from jepler/issue6066
Fix import of builtin submodules
2022-02-19 15:22:33 -05:00
Jeff Epler
ff4d4f791b
Make sure ULAB_HAS_USER_MODULE is defined (as zero)
This fixes a problem preprocessing genhdr/moduledefs.h, which refers to it.

This file doesn't include the place that ulab normally defines
ULAB_HAS_USER_MODULE by default, so just force it.
2022-02-19 10:29:17 -06:00
Jeff Epler
a040b6962f
update module list in extra coverage test 2022-02-19 09:38:56 -06:00
Jeff Epler
34d71097ff
Fix import ulab.foo 2022-02-19 09:32:51 -06:00
Jeff Epler
5d213e53af
bus device: properly register submodules
Closes: #6066 (except for similar work that needs to be done in ulab)
2022-02-19 08:39:51 -06:00
Hosted Weblate
d9415daf48
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/
2022-02-19 02:57:35 +01:00
Hosted Weblate
6ba272ed78
Merge remote-tracking branch 'origin/main' 2022-02-19 02:57:32 +01:00
Jonny Bergdahl
2640cf8ebc
Translated using Weblate (Swedish)
Currently translated at 100.0% (1050 of 1050 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-02-19 02:57:31 +01:00
Wellington Terumi Uemura
233f807264
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1050 of 1050 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-02-19 02:57:31 +01:00
Scott Shawcroft
918145f768
Merge pull request #6038 from jepler/merge-1.18
Merge 1.18
2022-02-18 17:57:18 -08:00
Scott Shawcroft
291a33521e
Merge pull request #6060 from dhalbert/update-frozen-libs-7.2.0
update frozen libraries before 7.2.0 RC
2022-02-18 13:42:49 -08:00
Dan Halbert
ca766f3b86 update frozen libraries before 7.2.0 RC 2022-02-18 14:23:10 -05:00
Dan Halbert
57bbe7922d
Merge pull request #6058 from Neradoc/add-hiibot-iots2
Add hiibot iots2
2022-02-18 12:18:25 -05:00
Dan Halbert
faf6ac5022
Merge pull request #6052 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-02-18 12:16:54 -05:00
Jeff Epler
090b153b3e
Fix build of dynmod with armv7m (lacks floating point) 2022-02-18 08:45:50 -06:00
Jeff Epler
684faab110
Enable the "lookup cache" for FULL_BUILDs
.. and remove a stanza for the "cache map lookup in bytecode" option,
which has been removed by upstream in 1.18; it's superceded by these
other improvements.
2022-02-18 08:32:39 -06:00
Jeff Epler
f45a6d762f
Merge remote-tracking branch 'origin/main' into merge-1.18 2022-02-18 08:12:05 -06:00
Hosted Weblate
5056333e9e
Merge remote-tracking branch 'origin/main' 2022-02-18 03:12:21 +01:00
Dan Halbert
1c3e03d1b1
Merge pull request #6057 from tannewt/board_pin_reset
Allow ESP boards to customize how a pin is reset
2022-02-17 21:12:11 -05:00
Hosted Weblate
6e7eb78a10
Merge remote-tracking branch 'origin/main' 2022-02-18 02:19:40 +01:00
Dan Halbert
60ceb6e367
Merge pull request #6043 from makermelissa/main
Add PortalBase and Fake Requests and update Frozen Libs on Portal boards
2022-02-17 20:19:33 -05:00
Hosted Weblate
8ea0301b14
Merge remote-tracking branch 'origin/main' 2022-02-18 02:02:50 +01:00
Scott Shawcroft
5a51aa2a75
Merge pull request #6056 from Neradoc/qtpys2-debug-uart
free RX and TX on QTPY-ESP32S2 in non debug builds
2022-02-17 17:02:46 -08:00
Hosted Weblate
06b16fe728
Merge remote-tracking branch 'origin/main' 2022-02-18 02:02:36 +01:00
Scott Shawcroft
9f751927e7
Merge pull request #6054 from tannewt/funhouse_crash
Don't update status LED color on brightness change
2022-02-17 17:02:26 -08:00
Hosted Weblate
d9b0e3cf48
Merge remote-tracking branch 'origin/main' 2022-02-18 01:44:01 +01:00
Dan Halbert
c9a65af1c9
Merge pull request #6051 from dhalbert/deep-sleep-usb-delays
don't wait for USB or BLE workflow after true deep sleep
2022-02-17 19:43:55 -05:00
Scott Shawcroft
c4fb5f7df1
Allow ESP boards to customize how a pin is reset
This allows board code to override the default pull up reset state.

It is useful for pins that are already externally connected, pulled
or otherwise used by the board.

Fixes #5931
2022-02-17 16:32:29 -08:00
Neradoc
3acb0d48bc free RX and TX on QTPY-ESP32S2 in non debug builds 2022-02-18 01:13:37 +01:00
Scott Shawcroft
7f3f4e409d
Update set_rgb_status_brightness doc and arg check 2022-02-17 14:37:25 -08:00
Scott Shawcroft
bdee6cf3b6
Don't update status LED color on brightness change
Brightness changes now happen when the LED isn't active or
initialized. When not init, CP may crash.

Fixes #5872
2022-02-17 14:21:03 -08:00
Hosted Weblate
0167673a67
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/
2022-02-17 22:02:19 +01:00
Dan Halbert
fe6e03f504
Merge pull request #6013 from tannewt/esp_ble_gatt_client
Add S3 GATT client support
2022-02-17 16:02:11 -05:00
Dan Halbert
28714963d5 don't wait for USB or BLE workflow after true deep sleep 2022-02-17 15:41:55 -05:00
Dan Halbert
16c44a4d50
Merge pull request #6047 from jepler/fix-qstr-error
Fix qstr error
2022-02-17 13:21:12 -05:00
Jeff Epler
1309ef083b
translate: Can't use compress_max_length_bits during qstr generation 2022-02-17 08:38:02 -06:00
Jeff Epler
2b32dce256
genlast: Actually catch errors when preprocessing files
Due to a number of problems, an error calling the preprocessor wasn't
making the whole genlast process fail.

Now, after an execption during preprocess is printed, it is re-raised.
Then, by actually collating the results of executor.map, the exception
will be raised in the main thread context. Any CalledProcessError is simply
converted to a nonzero exit status.
2022-02-17 08:36:29 -06:00
Neradoc
aedae120c7 use espressif assigned PID for Hiibot IOTS2 2022-02-17 15:06:38 +01:00
Neradoc
139c2710aa rebase, fix call to common_hal_busio_spi_construct 2022-02-17 14:41:47 +01:00