Commit Graph

30354 Commits

Author SHA1 Message Date
MicroDev
00a03c3235
Merge pull request #7640 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-02-24 01:28:12 +05:30
Hosted Weblate
b7bcfe6ad3
Merge remote-tracking branch 'origin/main' 2023-02-23 20:49:34 +01:00
Scott Shawcroft
bf657e638a
Merge pull request #7631 from MicroDev1/ci
CI: More fixes and refactoring
2023-02-23 11:49:28 -08:00
Dan Halbert
8996fda049
"an array" -> "array" 2023-02-23 13:55:52 -05:00
Dan Halbert
9058beb573
"a array" to "an array" 2023-02-23 13:41:49 -05:00
Hosted Weblate
d16fda3d20
Merge remote-tracking branch 'origin/main' 2023-02-23 18:53:48 +01:00
Jonny Bergdahl
d4f4da279e
Translated using Weblate (Swedish)
Currently translated at 100.0% (1000 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-02-23 18:53:47 +01:00
Wellington Terumi Uemura
2f78fff1a6
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1000 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-02-23 18:53:47 +01:00
Luis Ruiz San Segundo
8322caa178
Translated using Weblate (Spanish)
Currently translated at 99.9% (999 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-23 18:53:46 +01:00
Scott Shawcroft
d5e936ce7b
Merge pull request #7628 from RetiredWizard/broadcomspi
Port/Broadcom Switch to "unmeasured" core clock speed check
2023-02-23 09:53:38 -08:00
Milind
9e73e8351a
Calling stop_dma function while retruning errors from start_dma after configuring dma 2023-02-23 14:47:05 +05:30
MicroDev
60a9c7e5b2
move windows workflow to build ci and more 2023-02-23 14:39:37 +05:30
Milind
09f84e3513
Changed the code structure to start and stop dma from readinto function as per review comment to support one shot conversion mode for analogbufio
Added check for verifying the buffer type passed to readinto is H
2023-02-23 13:32:48 +05:30
RetiredWizard
ea8dd95931 Update common-hal routines with new params 2023-02-22 23:04:41 -05:00
RetiredWizard
08ac95a2eb Added updated submodule back 2023-02-22 23:03:53 -05:00
RetiredWizard
7cfc689f72 Removed peripherals submodule 2023-02-22 22:59:55 -05:00
RetiredWizard
c8dd0369a4 Added broadcom-peripherals back in 2023-02-22 20:12:39 -05:00
RetiredWizard
9cc27be0bf Removed broadcom-peripherals 2023-02-22 20:00:53 -05:00
Dan Halbert
460dda0426
Merge pull request #7616 from dhalbert/8.0.x-fix-atmel-uart
Fix pad assignments on atmel-samd UART
2023-02-22 17:24:29 -05:00
Scott Shawcroft
1acf65ee22
Fix pwmio on iMX RT.
It now handles deinit, never_reset and sharing tracking. PWM
now runs in the WAIT state as well during a time.sleep().

_reset_ok() was removed because it was called in one spot right
before deinit().

Some PWMOut were also switched to a bitmap for use instead of
reference count. That way init and deinit are idempotent.

Fixes #6589. Fixes #4841. Fixes #4541.
2023-02-22 11:22:39 -08:00
Hosted Weblate
6b0367f9eb
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-02-22 19:34:49 +01:00
Hosted Weblate
b95c4f1c37
Merge remote-tracking branch 'origin/main' 2023-02-22 19:34:45 +01:00
Jonny Bergdahl
c0f495756f
Translated using Weblate (Swedish)
Currently translated at 100.0% (998 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-02-22 19:34:45 +01:00
Wellington Terumi Uemura
fa787bd2d5
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (998 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-02-22 19:34:44 +01:00
Neradoc
ea4fa2402e
Translated using Weblate (French)
Currently translated at 98.9% (988 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2023-02-22 19:34:44 +01:00
Jose David M
4722b52771
Translated using Weblate (Spanish)
Currently translated at 100.0% (998 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-22 19:34:43 +01:00
Bill Sideris
1461e9448d
Merge branch 'adafruit:main' into wspico-psram-speedup 2023-02-22 20:30:54 +02:00
Scott Shawcroft
c2c7b9345e
Merge pull request #7625 from ftab/ftab-lyrat
Add ESP32-LyraT board
2023-02-22 10:27:40 -08:00
Scott Shawcroft
b67c0b7949
Merge pull request #7585 from bill88t/settings-toml-pystack
Settings.toml-configurable pystack
2023-02-22 10:13:31 -08:00
RetiredWizard
c73f008688 Make vcmailbox call change for AUX SPI instances 2023-02-22 11:58:13 -05:00
Dan Halbert
9b6abea907
Merge pull request #7632 from jepler/fix-picow-ssl-error-returns
raspberrypi: SSLSocket: raise OSError when appropriate
2023-02-22 11:38:59 -05:00
Jeff Epler
de9233f84a
raspberrypi: SSLSocket: raise OSError when appropriate
Rather than returning the negative error value.

This is intended to close #7606, though I did not test with mqtt.
Instead, I created a simple standalone test program:
```python
import wifi, socketpool, ssl, time
#wifi.radio.connect(<omitted>)
import socketpool
socket = socketpool.SocketPool(wifi.radio)
ctx = ssl.create_default_context()

b = bytearray(8)

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sss = ctx.wrap_socket(s, server_hostname='example.com')
sss.connect(('example.com', 443))
sss.setblocking(False)
r = sss.recv_into(b)
print(r, b)  # prints 4294967285 which is -11 as unsigned
sss.close()
```

Before the change, r was the out of range value 4294967285. After the
change, the recv_into call raises OSError instead.

This is comparable to the behavior on standard Python, though an
SSLWantReadError is raised instead.

The original (mis)behavior seems to match what was uncovered deep inside
minimqtt by adding logging:
```
370.578: DEBUG - PKT: _sock_exact_recv: recv_len = 4294967285
```
2023-02-22 10:07:48 -06:00
Dennis Field
d1f5004121 Add ESP32-LyraT board 2023-02-22 10:54:44 -05:00
MicroDev
f4f95ada79
fix empty exclude commit 2023-02-22 20:49:14 +05:30
MicroDev
1ea21cc8fc
refactor and simplify fetching port deps 2023-02-22 20:11:38 +05:30
MicroDev
592fea6822
split atmel-samd instead of raspberrypi 2023-02-22 20:08:13 +05:30
Bill Sideris
1d12014ec7
disable pixelmap 2023-02-22 13:31:15 +02:00
Dan Halbert
932b10f551
Merge pull request #7627 from MicroDev1/ci
Re-enable changes per commit
2023-02-21 23:04:04 -05:00
RetiredWizard
7c717a54f3 Switch to "unmeasured" core clock speed check 2023-02-21 22:10:36 -05:00
Bill Sideris
1ea118684c
120M qspi 2023-02-22 00:49:55 +02:00
Dan Halbert
c7d9eecfd6
Merge pull request #7623 from DavePutz/issue_7606
Correctly raise OS error in socketpool_socket_recv_into()
2023-02-21 16:17:30 -05:00
Scott Shawcroft
de5f58a61d
Merge branch 'main' into banglejs2 2023-02-21 12:04:28 -08:00
Scott Shawcroft
a8b34bd067
Merge pull request #7549 from gamblor21/gif_displayio_support
Animated GIF support
2023-02-21 11:39:29 -08:00
root
7e6e824d56 Correctly raise OS error in socketpool_socket_recv_into() 2023-02-21 13:38:29 -06:00
Bill Sideris
650c4c5d92
pystack+ rainbow- 2023-02-21 20:50:07 +02:00
Bill Sideris
5dba32ed07
Try to pass ci with rainbowio 2023-02-21 17:42:08 +02:00
Dan Halbert
ecbe9d1014
Merge pull request #7622 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-02-21 09:11:18 -05:00
Bill Sideris
b0384b5721
Merge branch 'adafruit:main' into settings-toml-pystack 2023-02-21 13:35:19 +02:00
Bill Sideris
d42aa41c70
Revert it with more passion 2023-02-21 13:29:39 +02:00
Bill Sideris
30a8e8bbcd
Revert next_stack_size 2023-02-21 13:26:57 +02:00