Commit graph

35478 commits

Author SHA1 Message Date
Scott Shawcroft
4d1f558361
Numerous iMX fixes and SDK update
* Fixes #4954. Leaving GPIO in output mode messed with ADC readings.
* Fixes #8018 and fixes #6537. UART rx was more complicated than it needed to be.
* Fixes #5581. uart reset is handled by finalizer. Added i2c_reset()
  call and reservation check.
2024-02-15 15:34:20 -08:00
Scott Shawcroft
00824ad122
Merge pull request #8922 from jepler/rp2040-usb-static-state-machine
Swap PIO allocation of USB Host for better Pico W compatibility
2024-02-15 10:13:43 -08:00
Dan Halbert
82914678db
Merge pull request #8924 from dhalbert/tls-nist-optim
esp-idf-config/sdkconfig.defaults: Fix TLS access to api.github.com; remove BLE from 4MB ESP32-S3
2024-02-15 13:01:06 -05:00
Dan Halbert
c84c0668e1
Merge pull request #8920 from tannewt/esp_tune_neopixel
Improve neopixel on ESP
2024-02-15 09:13:27 -05:00
Dan Halbert
5adffa2217
Merge pull request #8921 from jepler/issue8881
Restore setting __file__ in parse_compile_execute
2024-02-15 09:09:34 -05:00
Dan Halbert
b15aaa9249 Remove BLE from 4MB S3, factor out other BLE-off settings; turn on gifio/jpegio on some boards 2024-02-14 22:12:04 -05:00
Dan Halbert
c465f8fb15 esp-idf-config/sdkconfig.defaults: Fix TLS access to api.github.com 2024-02-14 21:15:49 -05:00
3bb5c26ab1 Swap PIO allocation of USB Host for better Pico W compatibility
Closes: #8359
2024-02-14 19:31:24 -06:00
Scott Shawcroft
be60c8e971
Use RX ram as well 2024-02-14 16:34:11 -08:00
d2f645dc60 Restore setting __file__ in parse_compile_execute
This seems to have been lost, possibly in a merge.

Closes: #8881
2024-02-14 17:45:23 -06:00
Scott Shawcroft
9537b1dca7
Improve neopixel on ESP
Greedily grab as much RMT memory as we can. It blocks other RMT
transmit channels but we only use it temporarily anyway. The more
we can grab, the fewer interrupts are needed to keep the transmit
going.

Flickers may still happen due to file system writes but most of the
time the animation just pauses.

On ESP32, move CircuitPython to the second core. This helps NeoPixel
by moving the RMT interrupt to the second core as well.

When testing ESP32 I noticed that settings.toml writes won't apply
until after hard reset. This removes that constraint but still
requires the password to enable the web workflow.

Fixes #3835
2024-02-14 15:10:07 -08:00
Scott Shawcroft
2e29772eb2
Merge pull request #8913 from tannewt/debug_cam_mem
Disable variable length SSL buffers
2024-02-14 10:03:10 -08:00
Dan Halbert
1010317190
Merge pull request #8900 from jepler/misc-fixes
Fix bugs exposed by posix port
2024-02-13 21:48:40 -05:00
Dan Halbert
31044da12c
Merge pull request #8915 from RetiredWizard/pimoroni_i2sfix_main
Pimoroni Pico DV Base W: Fix I2S Audio Assignments
2024-02-13 21:47:47 -05:00
Dan Halbert
955def8e07
Merge pull request #8914 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2024-02-13 20:55:22 -05:00
RetiredWizard
b625cae745 Pimoroni Pico DV Base W: Fix I2S Audio Assignments 2024-02-13 19:04:05 -05:00
efed3c9758 Remove two unused files
These were used with an earlier iteration of the camera, but are
not used now. (removed from build at d1b89fca91)
2024-02-13 17:00:52 -06:00
58f28b82f5 Include header only when needed 2024-02-13 17:00:52 -06:00
b47033bbe2 include digitalio header where actually needed 2024-02-13 17:00:52 -06:00
0d1e4dbbb0 random: fix getrandbits(0)
this is defined by python (returns 0) and tested in a test
2024-02-13 17:00:52 -06:00
9f697edd51 Excuse float comparisons in this file 2024-02-13 17:00:52 -06:00
85525c7e63 Use MICROPY_FLOAT_CONST 2024-02-13 17:00:52 -06:00
f7c4a220d0 Fix build bugs exposed by posix port 2024-02-13 17:00:52 -06:00
Hosted Weblate
829573c431
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-02-13 23:58:12 +01:00
Dan Halbert
49d952c516
Merge pull request #8909 from tannewt/replace_legacy_esp_drivers
Remove old pcnt, rmt and timer group drivers
2024-02-13 17:58:08 -05:00
Scott Shawcroft
34c4b744a4
Disable variable length SSL buffers
Fixes #8907
2024-02-13 14:34:32 -08:00
Scott Shawcroft
574900a685
Merge pull request #8912 from tannewt/merge_in_8.2.x
Merge in 8.2.x
2024-02-13 14:09:39 -08:00
Scott Shawcroft
317f5d7816
Leave MP tests as-is 2024-02-13 13:32:08 -08:00
Scott Shawcroft
7e6b055b6f
black 2024-02-13 11:28:23 -08:00
Scott Shawcroft
d1e710fb4b
Merge remote-tracking branch 'adafruit/8.2.x' into merge_in_8.2.x 2024-02-13 11:18:56 -08:00
Scott Shawcroft
722f75f838
Merge pull request #8906 from RetiredWizard/pimoroni_i2sfix
Pimoroni DV Base: Fix i2s audio pin assignments
2024-02-13 10:32:09 -08:00
RetiredWizard
44e58624ed Add fixes to a couple incorrect type annotations (#8895) 2024-02-13 13:07:57 -05:00
Scott Shawcroft
9096487bf3
Shrink three S3 builds by disabling BLE 2024-02-12 17:09:56 -08:00
Scott Shawcroft
d202ab45ab
Fix I2S deinit/pause
Fixes #8867
2024-02-12 17:03:57 -08:00
Scott Shawcroft
b1609ab552
Remove old pcnt, rmt and timer group drivers
The new ones handle resource tracking for us. They also do a
better job running when the flash cache is disabled, which is the
source of bugs when interacting with flash over USB.

Fixes #6998 and fixes #8379
2024-02-12 16:09:25 -08:00
RetiredWizard
2490303a23 Add pre-commit changes (black 24.11) formattings changes 2024-02-12 16:56:21 -05:00
Scott Shawcroft
c6d195a39f
Merge pull request #8898 from justmobilize/typing-fixes
Fix tools/test-stubs.sh
2024-02-12 13:19:13 -08:00
Scott Shawcroft
0fa4d3dedd
Merge pull request #8905 from FoamyGuy/jpeg_decode_size_order
Jpegio fixes: swap order of size and example code Argument
2024-02-12 13:15:59 -08:00
RetiredWizard
bd8ae23d96 Pimoroni DV Base: Fix I2S audio pin assignments 2024-02-12 02:50:56 -05:00
foamyguy
0ea8e58aec example code Bitmap argument 2024-02-11 16:50:58 -06:00
foamyguy
880aa9c304 swap order of size 2024-02-11 16:35:37 -06:00
Dan Halbert
38b45f55a9
Merge pull request #8901 from jerryneedell/jerryn_eye
add OV2640 support to sdkconfig for esp32s3_eye build
2024-02-11 15:00:29 -05:00
Jerry Needell
ad19e71ac5 add OV2640 support to sdkconfig for esp32s3_eye build 2024-02-11 14:23:42 -05:00
Justin Myers
922ec32589 Fix extra pip install 2024-02-09 12:17:18 -08:00
Justin Myers
1a0fabaff3 Remove testing branch 2024-02-09 12:15:49 -08:00
Dan Halbert
8af780c7fa
Merge pull request #8896 from kattni/inky-frame-7-3
Add support for Pimoroni Inky Frame 7.3in
2024-02-09 15:02:08 -05:00
Kattni
7b271cc7bb Remove SD card frozen lib. 2024-02-09 14:47:44 -05:00
Kattni
1cd89f4f39 Add Pimoroni Inky Frame 7.3in 2024-02-09 14:16:47 -05:00
Justin Myers
c8964dfdab Update testing messages 2024-02-09 09:13:40 -08:00
Justin Myers
e906873527 Merge branch 'main' into typing-fixes 2024-02-09 08:36:21 -08:00