Commit Graph

29874 Commits

Author SHA1 Message Date
Scott Shawcroft
987d9a31c8
Fix pin_or_none 2023-01-12 16:03:45 -08:00
Scott Shawcroft
aa2ba4d88b
Have start and end kwargs respect element size
The comment says it is `buffer[start:end]` but it assumed elements
were a single byte long. Now it correctly does multibyte elements
from array.array.

Fixes #4988
2023-01-11 15:36:41 -08:00
Dan Halbert
75241c466a
Merge pull request #7443 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-01-11 17:16:33 -05:00
Hosted Weblate
9a5b6cacbd
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/
2023-01-11 19:54:42 +01:00
Scott Shawcroft
78c2fa5b28
Merge pull request #7437 from dhalbert/improve-type-checking-error-msgs
Improve type validation error messages, especially for pins
2023-01-11 10:54:22 -08:00
Dan Halbert
6fdaa78245
Merge pull request #7441 from tannewt/fix_light_sleep_after_deep
Ignore ESP-IDF wakeup cause when light sleeping
2023-01-10 20:09:59 -05:00
Dan Halbert
828fd7f445
Merge pull request #7439 from jepler/issue7438
Update cyw43-driver, fix no-password wifi
2023-01-10 20:09:38 -05:00
Scott Shawcroft
fbd5f27371
Ignore ESP-IDF wakeup cause when light sleeping
The IDF's wakeup cause is only for deep sleep. Without ignoring it,
light sleep will wake up too early when done after a deep sleep
wake.

Fixes #7300
2023-01-10 15:34:15 -08:00
Scott Shawcroft
895cd269b3
Merge pull request #7422 from CDarius/m5stack_stick_c
Add M5Stack Stick C board
2023-01-10 14:48:47 -08:00
Jeff Epler
e817563ca0
Update cyw43-driver, fix no-password wifi
Now, open wifi works on Pico W, so this closes #7438.

For the web workflow it's now OK to either
 * specify an empty password string (as before)
 * not have the CIRCUITPY_WIFI_PASSWORD key at all (new functionality)
2023-01-10 15:07:17 -06:00
Dan Halbert
0ed5c2db18
Merge pull request #7216 from jepler/feather-esp32-s23-reverse-tft
Feather esp32 s23 reverse tft
2023-01-10 15:34:47 -05:00
Dan Halbert
a974402542 Improve type validation errors messages, especially for pins 2023-01-10 15:02:55 -05:00
Jeff Epler
7db8f92554 Update some build flags to be more like the original tft feathers
.. enable camera and use default (better) optimization
2023-01-10 12:28:51 -06:00
Jeff Epler
af70401aa6 Switch the reverse feathers to use modules with psram
.. by copying the sdkconfig files from the original s2/s3 tft feathers,
as the module is of the same type.
2023-01-10 12:18:53 -06:00
Jeff Epler
8f0e72ce2b Merge remote-tracking branch 'origin/main' into feather-esp32-s23-reverse-tft 2023-01-10 12:16:31 -06:00
MicroDev
037bfb39e3
Merge pull request #7424 from RetiredWizard/mimxrt10xx-deinit
mimxrt10xx gpio pins don't deinit
2023-01-06 14:26:10 +05:30
RetiredWizard
fa514e22b2 mimxrt10xx gpio pins don't deinit
It looks like a rogue "return" made it's way into the reset pin code
for the mimxrt10xx port resulting in pin.deinit() not working.
2023-01-05 19:17:08 -05:00
CDario
a2668cdf0d Added PORT A i2c and slowed down display SPI 2023-01-05 22:30:10 +00:00
CDario
208fb341e2 Added M5Stack Stick C board 2023-01-05 21:29:02 +00:00
Scott Shawcroft
6013cde6a8
Merge pull request #7332 from MicroDev1/ci
Update `tj-actions` & Revert `fetch-depth` change
2023-01-05 07:31:33 -08:00
MicroDev
a97d8e97ad
update tj-actions/changed-files to v34 2023-01-05 12:00:46 +05:30
MicroDev
4766f620d9
Merge pull request #7418 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-01-05 11:11:49 +05:30
Matt Watson
987b6d1140
Translated using Weblate (Japanese)
Currently translated at 42.1% (420 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ja/
2023-01-05 03:52:14 +01:00
Jonny Bergdahl
9660685a6b
Translated using Weblate (Swedish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-01-05 03:52:14 +01:00
Wellington Terumi Uemura
1f78d817c6
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-01-05 03:52:13 +01:00
Scott Shawcroft
28f5875e83
Merge pull request #7417 from tannewt/timealarm_docs
Improve time alarm doc
2023-01-04 16:03:38 -08:00
Scott Shawcroft
6b3ae630a9
Improve time alarm doc
Fixes #7406
2023-01-04 14:16:35 -05:00
Scott Shawcroft
bb3a1c0a2a
Merge pull request #7153 from fonix232/feature/waveshare_rp2040_lcd_1_28
feat: Add support for Waveshare RP2040-LCD-1.28
2023-01-04 10:18:01 -08:00
Dan Halbert
4f78d63905
Merge pull request #7412 from 2231puppy/e-fidget
Add E-Fidget board
2023-01-04 12:32:27 -05:00
Dan Halbert
c0c02d0e04
Merge pull request #7371 from PontusO/main
Initializing external flash SPI speed to SPI_FLASH_MAX_BAUDRATE, instead of using driver default speed (32MHz), before probing JEDEC identifier.
2023-01-04 12:29:45 -05:00
Dan Halbert
e7475153c0
Merge pull request #7415 from jepler/fix-exception-chain-self
do not chain exceptions to themselves
2023-01-04 11:39:16 -05:00
Dan Halbert
4d33cf48a9
Merge pull request #7410 from jepler/unique-fat-volid
oofatfs: enable use of random volume IDs
2023-01-04 11:37:32 -05:00
Jeff Epler
cc16bd3d53
do not chain exceptions to themselves
cpython actually makes sure the newly chained exception doesn't create
a cycle (even indirectly); see _PyErr_SetObject use of "Floyd's cycle
detection algo". We'll go for the simpler solution of just checking
one level deep until it's clear we need to do more.

Closes: #7414
2023-01-04 08:40:20 -06:00
Dan Halbert
af3a2df328
Merge pull request #7413 from jepler/update-ulab
update to ulab 6.0.2
2023-01-03 23:03:36 -05:00
Jeff Epler
cd76ea2c90
update to ulab 6.0.2 2023-01-03 20:38:31 -06:00
2231puppy
38ebe90f7c Remove unexposed pins from E-Fidget 2023-01-03 19:24:48 -05:00
Jeff Epler
3d66ed27ce
oofatfs: enable use of random volume IDs
This may help address #7409 if the underlying cause is the deterministic
volume ID. However, not all boards have working urandom (samd21
at least does not) so a couple of fallbacks are attempted when it fails.

I verified that on a pico_w, each `storage.erase_filesystem()` gives
a distinct 32-bit volume ID (pico_w's urandom can never fail)
2023-01-03 17:18:29 -06:00
2231puppy
bea62030b7 Add E-Fidget board 2023-01-03 16:02:24 -05:00
Jozsef Kiraly
f23a96fa09
Update config with proper USB VID 2023-01-03 20:31:18 +00:00
Jozsef Kiraly
463c8d0f11
Merge pull request #2 from adafruit/main
Merge main
2023-01-03 20:28:18 +00:00
Pontus Oldberg
14417a21d1
Merge branch 'adafruit:main' into main 2023-01-03 09:31:49 +01:00
Dan Halbert
4cc7466617
Merge pull request #7408 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-01-02 19:59:21 -05:00
Hosted Weblate
54afbc7ed4
Merge remote-tracking branch 'origin/main' 2023-01-02 19:28:09 +01:00
Dan Halbert
3cf947ff8f
Merge pull request #7399 from CDarius/m5stack_atom_matrix
Added M5Stack Atom Matrix board
2023-01-02 13:28:04 -05:00
Hosted Weblate
c229a93c69
Merge remote-tracking branch 'origin/main' 2023-01-02 19:27:52 +01:00
Dan Halbert
6d9d593a0d
Merge pull request #7401 from CDarius/m5stack_atom_echo
Added M5Stack Atom Echo board
2023-01-02 13:27:48 -05:00
Hosted Weblate
86e2a24401
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/
2023-01-02 19:23:35 +01:00
Dan Halbert
d1cd096813
Merge pull request #7358 from dhalbert/read-only-mac-address-rp2040
Read only mac address rp2040
2023-01-02 13:23:28 -05:00
Dan Halbert
637d47b058
Merge pull request #7402 from CDarius/m5stack_atom_u
Added M5Stack Atom U board
2023-01-02 13:21:48 -05:00
Dan Halbert
03b43b7b3f complete rework for microcontroller.cpu.frequency and wifi.radio MAC addresses 2023-01-02 11:45:58 -05:00