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
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
gamblor21
e78875a93b
ColorConverter output colorspace fix
2023-02-18 15:35:56 -06:00
Scott Shawcroft
c7f485d7d6
Merge pull request #7601 from jepler/fix-duplicate-ulab-help
...
Fix duplicate ulab help
2023-02-17 09:18:09 -08:00
Jeff Epler
d249af2a24
don't explicitly register ulab here
...
.. it is registered by MP_REGISTER_MODULE in ulab.
Closes : #7600
2023-02-17 09:21:50 -06:00
Scott Shawcroft
e487b7cc75
Merge pull request #7589 from gneverov/issue_7333
...
Increase number of LWIP timers for MDNS (fixes #7333 )
2023-02-15 19:51:26 -08:00
Gregory Neverov
fd1c3ca784
Increase number of LWIP timers for MDNS
2023-02-15 16:40:45 -08:00
Scott Shawcroft
1af2b6acbe
Merge pull request #7563 from Neradoc/deinit-i2cdisplay-reset-on-raise
...
Deinit the reset pin when displayio.I2CDisplay fails
2023-02-13 10:03:39 -08:00
Dan Halbert
ec90d79d61
Merge pull request #7553 from kamtom480/sdk2.6.0
...
spresense: update SDK to 2.6.0
2023-02-13 09:04:35 -05:00
Neradoc
3c93594563
Deinit the reset pin when displayio.I2CDisplay raises an exception
2023-02-10 19:54:10 +01:00
Dan Halbert
7071478992
Merge pull request #7566 from jepler/chain-exception-fix
...
Fix several places where an exception could be chained wrongly
2023-02-10 13:47:50 -05:00
Neradoc
cec36b62f1
Update build_board_info.py to sh module 2.0.0
2023-02-10 09:20:46 -06:00
Jeff Epler
0d957fe15c
Fix several places where an exception could be chained wrongly
...
If an exception's chain or context can refer to a pointer from a different
VM, a crash would typically result.
This couldn't turn up on UNIX testing because the VM is never torn
down and rebuilt like it is on hardware.
Because in the 'static' case the GeneratorObject is now fully initialized
whenever it's raised, the initialization can be dropped, which reduces
the flash size slightly.
Closes : #7565
2023-02-10 09:06:47 -06:00
Dan Halbert
fc919d24e1
Merge pull request #7558 from jepler/issue7206
...
Use lowest drive level for PIO
2023-02-08 19:23:11 -05:00
Jeff Epler
b9f689adf4
Use lowest drive level for PIO
2023-02-08 16:18:58 -06:00
Mark
5f43a63a70
Merge pull request #7546 from FoamyGuy/is31fl3741_fix
...
fix for native is31fl3741
2023-02-03 18:09:51 -06:00
foamyguy
fab1bb5f21
fix for native is31fl3741
2023-02-03 17:43:12 -06:00
Dan Halbert
3a82730eb7
Merge pull request #7542 from dhalbert/metro-m7-flash-64
...
update flash chip for Metro M7 1011
2023-02-03 12:24:58 -05:00
Dan Halbert
f13e6d8758
update flash chip for Metro M7 1011
2023-02-03 11:56:42 -05:00
Dan Halbert
6b64cb991a
Merge pull request #7541 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-02-03 09:52:34 -05:00
Wellington Terumi Uemura
8ca22a8a41
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (995 of 995 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-02-03 05:15:46 +01:00
Dan Halbert
aafec496c3
Merge pull request #7539 from DavePutz/issue_7419
...
Correct assignment of RMT channels on ESP32C3
2023-02-02 17:35:37 -05:00
root
750535d4af
Correct assignment of RMT channels on ESP32C3
2023-02-02 14:55:57 -06:00
Dan Halbert
e207db7cd9
Merge pull request #7536 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-02-01 20:24:11 -05:00
Hosted Weblate
9a61553645
Merge remote-tracking branch 'origin/main'
2023-02-02 02:22:52 +01:00
Dan Halbert
9e242bfd4f
Merge pull request #7538 from gneverov/issue_6482
...
Fixes #6482
2023-02-01 20:21:17 -05:00
Gregory Neverov
77c6daf4b8
don't throw exception
2023-02-01 16:33:22 -08:00
Jose David M
8529ec2649
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (995 of 995 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-01 23:11:16 +01:00
Hosted Weblate
764d731e24
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-01 22:25:19 +01:00
Dan Halbert
92f39fd708
Merge pull request #7533 from jepler/update-ulab-607
...
update ulab to 6.0.7
2023-02-01 16:24:56 -05:00
Dan Halbert
c9e45433ff
make translate
2023-02-01 14:03:52 -05:00
Jeff Epler
79e07bfe00
update ulab to 6.0.7
2023-02-01 09:08:18 -06:00
Dan Halbert
135a2ba681
Merge pull request #7529 from jposada202020/adding_version_info
...
adding information regarding the version for libraries
2023-02-01 09:53:20 -05:00
Dan Halbert
5657fb0913
Merge pull request #7532 from MicroDev1/format
...
Run updated pre-commit
2023-02-01 09:52:28 -05:00
Kamil Tomaszewski
3fdebd4f60
spresense: Add HDR camera support
2023-02-01 12:37:29 +01:00
MicroDev
d9d94eacca
run updated pre-commit
2023-02-01 13:38:41 +05:30
Dan Halbert
9ab0733a28
Merge pull request #7530 from BrainBoardz/main
...
BrainBoardz Neuron Commit (Final I Hope!) - Updated as Per Previous Instructions VID+PID Work
2023-01-31 23:33:34 -05:00
brainboardz
2656ccffe4
Commit01-31
2023-01-31 19:35:57 -05:00
jposada202020
e54775a8cb
adding information regarding the version for libraries
2023-01-31 18:58:27 -05:00
Dan Halbert
2faa8a435a
Merge pull request #7510 from BPI-STEAM/CircuitPython-main
...
Update mpconfigboard.h with LED definition for BPI-Bit-S2.
2023-01-31 16:08:10 -05:00
Scott Shawcroft
e1041a8625
Merge pull request #7509 from RetiredWizard/seeedc3
...
seeed_xiao_esp32c3 flash mode change to dio
2023-01-31 11:29:24 -08:00
Jeff Epler
a487b8dafe
Merge pull request #7526 from jepler/reverse-tft-buttons
...
Add front buttons as D0/1/2, matching the silk
2023-01-31 10:38:43 -06:00
Jeff Epler
b8d6f20308
Add front buttons as D0/1/2, matching the silk
2023-01-31 10:02:21 -06:00
brainboardz
f3b1ceeb81
Seventh Commit
2023-01-30 20:45:57 -05:00
brainboardz
f71b4bc018
Sixth Commit
2023-01-30 20:32:19 -05:00
brainboardz
e10816f34c
Fifth Commit
2023-01-30 20:20:37 -05:00
brainboardz
3f3519e0ab
Fourth Commit
2023-01-30 20:10:34 -05:00
brainboardz
7c525fdcb0
Third Commit
2023-01-30 19:54:11 -05:00
brainboardz
34f480d735
Second Commit
2023-01-30 19:03:57 -05:00