Commit Graph

30326 Commits

Author SHA1 Message Date
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
Hosted Weblate
48e60391a5
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-21 05:11:02 +01:00
Dan Halbert
9941779d35
Merge pull request #7619 from dhalbert/huzzah32-breakout
Add Adafruit HUZZAH32 breakout
2023-02-20 23:10:49 -05:00
Dan Halbert
8ffa7b1d55 Add Adafruit HUZZAH32 breakout 2023-02-20 20:04:22 -05:00
Dan Halbert
2684aeb838 don't check for RX and TX both none in ports: now checked in shared-bindings 2023-02-20 19:11:16 -05:00
Dan Halbert
64d527b5cd
Merge pull request #7617 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-02-20 16:54:31 -05:00
Jonny Bergdahl
a1adf7c4ca
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-02-20 04:39:38 +01:00
Wellington Terumi Uemura
0e6484a94a
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-02-20 04:39:37 +01:00
Jose David M
ec8b06a3a8
Translated using Weblate (Spanish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-20 04:39:37 +01:00
Ettore Atalan
8e9c048223
Translated using Weblate (German)
Currently translated at 96.1% (959 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-02-20 04:39:36 +01:00
Dan Halbert
6d51356324 Fix pad assignments on atmel-samd UART 2023-02-19 20:42:44 -05:00
Dan Halbert
3f66a0be83
Merge pull request #7611 from gamblor21/colorconverter-mem-fix
ColorConverter output colorspace non-initialization fix
2023-02-19 20:34:30 -05:00
Bill Sideris
b4ff08d185
Prohibit too big a size 2023-02-18 23:56:06 +02:00