Commit Graph

30250 Commits

Author SHA1 Message Date
Patrick Van Oosterwijck
5bca86b43d Fix print of "soft reboot" when the user presses ^D
The logic of the main loop was changed between version 7 and 8.
[Commit](9307b62ad5)
Something is wrong with the existing version 8 logic so the serial
write of "soft reboot" is never executed when the user does a
soft reboot.
A consequence of this is that tools like `tools/pyboard.py`, `ampy`
and `mpremote` are not able to activate the raw REPL since they
execute a soft reboot and wait for this to be printed to the console.
2023-02-26 16:00:37 -07:00
Dan Halbert
f9831b3bbc
Merge pull request #7639 from adafruit/8.0.x
Merge 8.0.x up to main
2023-02-24 19:32:09 -05:00
Dan Halbert
1bf88a28cc
Merge pull request #7646 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-02-24 19:30:00 -05:00
Hosted Weblate
547bb1fd44
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-25 00:20:19 +01:00
Hosted Weblate
1063ec0649
Merge remote-tracking branch 'origin/main' 2023-02-25 00:20:15 +01:00
Luis Ruiz San Segundo
70d1640e46
Translated using Weblate (Spanish)
Currently translated at 100.0% (1004 of 1004 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-25 00:20:15 +01:00
Jose David M
666d333e87
Translated using Weblate (Spanish)
Currently translated at 100.0% (1004 of 1004 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-25 00:20:15 +01:00
Dan Halbert
8c714ec864
Merge pull request #7497 from tannewt/banglejs2
Add Bangle.js 2, JDI memory displays and ACeP epd
2023-02-24 18:20:06 -05:00
Hosted Weblate
51f2d0f64b
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-24 22:09:46 +01:00
Scott Shawcroft
adf5b7a23c
Merge pull request #7602 from milindmovasha/espressif-analogbufio
Espressif analogbufio implementation
2023-02-24 13:09:27 -08:00
Scott Shawcroft
2c843403ee
Merge pull request #7642 from MicroDev1/ci
CI: Fix scheduler
2023-02-24 12:30:39 -08:00
Scott Shawcroft
144aed40e3
Rename flag. Turn on UTF-8 and flag on unix
Also added label portion to the test.
2023-02-24 12:23:59 -08:00
MicroDev
0e17deff05
ci fix scheduler 2023-02-24 11:41:41 +05:30
Scott Shawcroft
1197394a03
Add simple test 2023-02-23 15:53:59 -08:00
Scott Shawcroft
f832386cda
Merge remote-tracking branch 'adafruit/main' into banglejs2 2023-02-23 14:43:38 -08:00
Scott Shawcroft
b79661d631
Alphabetize, fix typo and remove incorrect comment 2023-02-23 14:34:54 -08:00
Scott Shawcroft
1a3358d036
Limit FatFs' ability to upper case paths
Only uppercase ASCII letters a-z. This saves ~900 bytes. Previously
written files with other unicode letters will only be accessible
from their upper cased path.
2023-02-23 14:28:58 -08:00
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
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
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