Commit graph

37851 commits

Author SHA1 Message Date
sam blenny
6cc41f0bf9 return early after raising USBError
This commit makes sure that functions in usb.core.Device return as
soon as they raise a MicroPython exception rather than continuing
on with whatever code would normally run. This will hopefully help
to avoid things like dereferencing null pointers.
2024-09-30 01:18:18 +00:00
Dan Halbert
e44504727e
Merge pull request #9668 from tannewt/feather_rp2350_pin_tweaks
Add IO4 and IO7 to Feather RP2350
2024-09-29 20:28:04 -04:00
Dan Halbert
3ed76982b5 shrink some builds 2024-09-29 19:31:10 -04:00
Dan Halbert
9116911a6c fix formatting 2024-09-29 17:07:50 -04:00
Dan Halbert
42db18ee51 merge from main 2024-09-29 17:00:02 -04:00
Dan Halbert
90053fe8ac bring esp32-camera up to date 2024-09-29 15:03:31 -04:00
sam blenny
154ef2e36d Change USB NULL errors to short strings
shared-module/usb/core/Device.c had several spots where it would
raise a MicroPython exception with a NULL argument. That made it
very difficult for CircuitPython code to attempt to recover from
fault conditions caused by quirky USB device behavior. This adds
short error strings to distinguish the different types of faults.
2024-09-29 18:20:11 +00:00
gamblor21
bbd3e01665 Comments and couple tweaks 2024-09-28 11:22:05 -05:00
gamblor21
a851f102fe Error message for sample note matching made consistent 2024-09-28 09:38:20 -05:00
Scott Shawcroft
14ddb6bdd5
Add IO4 and IO7 to Feather RP2350
These match the silkscreen but not the standard feather pin naming
D12 and D13 are left so code is compatible.

Brought up on the forums:
https://forums.adafruit.com/viewtopic.php?p=1030324
2024-09-27 16:45:55 -07:00
Dan Halbert
8e171f19d8 Camera.c: remove unneeded #include logic 2024-09-27 18:16:55 -04:00
Scott Shawcroft
ec5cca6983
Merge pull request #9664 from samblenny/tinyusb_0_17_0
update tinyusb to v0.17.0 (5217cee5)
2024-09-27 09:37:55 -07:00
Dan Halbert
ca25c602a8
Merge pull request #9665 from SeanCline/main
Add a delay to KeyMatrix scan.
2024-09-26 19:52:49 -04:00
Dan Halbert
dc52fe3062
Update KeyMatrix.c: remove trailing spaces 2024-09-26 18:42:35 -04:00
Dan Halbert
7b1719783f turn CIRCUITPY_ESPCAMERA back on 2024-09-26 17:41:44 -04:00
Dan Halbert
50b2e40a54 ports/espressif/common-hal/espcamera/Camera.c: check for unspecified pins 2024-09-26 17:41:08 -04:00
sam blenny
0608932e63 update tinyusb to v0.17.0 (5217cee5) 2024-09-26 17:59:59 +00:00
Sean D. Cline
447cd1e02b Add a delay to KeyMatrix scan.
This gives the matrix columns time to discharge and settle down to
their resting state.
2024-09-26 09:27:33 -04:00
Scott Shawcroft
4ef4f50873
Merge pull request #9654 from RetiredWizard/envdoc
Environment Variables doc to note possible board specific keys
2024-09-25 10:51:52 -07:00
Scott Shawcroft
ca99b41d19
Merge pull request #9661 from sanhu88/sunton_esp32_8048S050
add Port of Sunton esp32 8048S050
2024-09-25 10:49:21 -07:00
Scott Shawcroft
cd5c9d2632
Merge pull request #9658 from jepler/floppyio-doc-markup
fix doc markup problem
2024-09-25 10:45:05 -07:00
Burt
b7f8a5a7a9
Merge branch 'adafruit:main' into sunton_esp32_8048S050 2024-09-25 23:00:39 +08:00
gamblor21
98b360a436 Double buffering 2024-09-24 21:25:43 -05:00
RetiredWizard
519832d57d Remove all LWIP_HOSTNAME lines 2024-09-24 18:04:25 -04:00
RetiredWizard
0d235d792e Additional rotation detail 2024-09-24 17:18:07 -04:00
RetiredWizard
df9b39f8c2 pre-commit run --all 2024-09-24 16:44:54 -04:00
RetiredWizard
d3d6a73ad9 Add board specific key documentation 2024-09-24 16:41:59 -04:00
068d4919bf fix doc markup problem 2024-09-24 12:11:15 -05:00
Scott Shawcroft
1ab26baf6e
Merge pull request #9655 from jepler/keep-pythonpath
run_tests.py: keep PYTHONPATH when requested
2024-09-24 10:01:23 -07:00
Burt
408e291ff3 add Port sunton_esp32_8048S050 2024-09-24 19:59:50 +08:00
RetiredWizard
810690a7ed Remove CONFIG_LWIP_LOCAL_HOSTNAME from S3 boards 2024-09-24 00:43:49 -04:00
gamblor21
01a220af0f Started simplifying getbuffer 2024-09-23 21:24:30 -05:00
71eea30639 keep PYTHONPATH when requested
This turns out to be needed by the testsuite of jepler_udecimal, which
needs to add the `jepler_udecimal` directory both to PYTHONPATH and
MICROPYPATH.
2024-09-23 21:02:08 -05:00
RetiredWizard
b22a571a98 pre-commit run -all 2024-09-23 21:41:48 -04:00
726639be41
Merge pull request #9653 from eric321/mp3-partial-frame-fix
Fix infinite loop when there's a partial frame at the end of the file.
2024-09-23 20:39:43 -05:00
RetiredWizard
18fe80d771 Update Environment Variables documentation to note possible board specific keys 2024-09-23 21:27:38 -04:00
Eric Lammerts
ca53f8b390 Fix infinite loop when there's a partial frame at the end of the file. 2024-09-23 16:46:20 -04:00
Scott Shawcroft
cda19477e4
Merge pull request #9646 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2024-09-23 10:02:22 -07:00
Andi Chandler
e3cb3df7b2
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (1000 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2024-09-23 03:16:20 +00:00
Wellington Terumi Uemura
4e7f5cd37f
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/
2024-09-23 03:16:19 +00:00
gamblor21
477480705a Delay and Decay to BlockInput 2024-09-22 13:12:17 -05:00
gamblor21
d88b0c7840 Change mix to BlockInput 2024-09-21 15:51:38 -05:00
Dan Halbert
eff544c16c espressif: get new I2C driver working
- Starts with @tannewt's changes.
- Make sure proper component is being compiled.
- Added `I2C.probe()` as a visible new method. This was a hidden common-hal method, but the C version of adafruit_bus_device could not use it because it needs to call probe via a Python method call. So make it visible. It's useful, and `I2C.scan()` could be phased out, since now `.scan()` can be implemented in Python with `.probe()`.
- set clock-stretching timeout on espressif to a minimum of 1 second. In all impls of busio.I2C()`, the timeout is ignored and is set to a fixed 1 second. @tannewt's new code was using the passed-in value, which was often too short.

To do:
- switch esp-camera to new-driver version. We have to use the same I2C driver everywhere.
- Check about I2CTarget.
2024-09-20 17:48:17 -04:00
Hosted Weblate
3b7084aa72
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/
2024-09-20 19:05:25 +02:00
Scott Shawcroft
340cc6328c
Merge pull request #9641 from RetiredWizard/espsdioio2
esp32s3: Implement sdioio
2024-09-20 10:05:15 -07:00
Scott Shawcroft
44ec0e642d
Merge pull request #9608 from sanhu88/espressif_esp32s3_lcd_ev_v1.5
Add Espressif esp32s3 lcd ev v1.5
2024-09-20 10:02:01 -07:00
Scott Shawcroft
f18695dc70
Merge pull request #9645 from makerdiary/main
Add Makerdiary iMX RT1011 Nano Kit.
2024-09-20 10:00:56 -07:00
Zelin Cai
cf56e0956e Add Makerdiary iMX RT1011 Nano Kit.
Signed-off-by: Zelin Cai <zelin@makerdiary.com>
2024-09-20 21:31:25 +08:00
Burt
2b7480ef84
Update sdkconfig format 2024-09-20 21:09:56 +08:00
Burt
6349e693a0 rename macro to MP_DEFINE_BYTES_OBJ_WITH_NULL 2024-09-20 20:08:56 +08:00