Commit graph

35745 commits

Author SHA1 Message Date
Dan Halbert
50a075e087 .github/workflows/pre-commit.yml: update pre-commit/action version 2024-02-16 15:24:53 -05:00
Dan Halbert
53936042d7 frozen/: update submodules 2024-02-16 15:10:32 -05:00
Dan Halbert
a881bb69f0 lib/certificates: update to include ssl.com RSA cert 2024-02-16 14:19:35 -05:00
6fd89b7b13 rp2040: allow board to customize pin reset state
.. and use it on usb host feather to set the reset state of the USB
power pin to "output high", while leaving it possible to create
a DigitalInOut of this pin from CircuitPython code.
2024-02-16 12:59:46 -06:00
e06b3da135 don't use pad state to track if a pin is in use
this interferes with the desire to allow a pin to be a non-default
state when it "is reset"
2024-02-16 12:59:46 -06:00
721b7d86e6 re-organize this code so it doesn't give my computer fits 2024-02-16 12:59:42 -06:00
Bill Sideris
a20d445310
Revert MICROPY_FULL_VERSION_INFO to MICROPY_BANNER_NAME_AND_VERSION 2024-02-16 20:53:39 +02:00
Bill Sideris
750912d193
Fix some cmdline tests 2024-02-16 20:40:17 +02:00
Bill Sideris
c7701709ef
Merge branch 'main' into sysvers 2024-02-16 20:15:20 +02:00
Scott Shawcroft
02a488649f
Merge pull request #8923 from jepler/groups-in-rom
displayio: add, check "readonly" flag for groups
2024-02-16 09:49:14 -08:00
Dan Halbert
255bdee452
Merge pull request #8834 from jepler/floppsy-rp2040
Add Adafruit Floppsy RP2040
2024-02-16 12:42:02 -05:00
Dan Halbert
fc8c7b0c31
Merge pull request #8931 from CDarius/m5dial
Add M5Stack Dial development board
2024-02-16 12:38:39 -05:00
Dan Halbert
86f3daa8b9
Merge pull request #8934 from jepler/exit-with-failure-please
build-board-info.py: exit with a failing status code instead of just printing errors
2024-02-16 12:29:13 -05:00
Dan Halbert
17cd6aa956
Merge pull request #8933 from jepler/avoid-out-of-range-msc-read
Prevent out-of-range reads via msc
2024-02-16 12:27:49 -05:00
294d563d04
Merge pull request #8928 from tannewt/imx_fixes
Numerous iMX fixes and SDK update
2024-02-16 10:51:01 -06:00
Dan Halbert
f2bfb15946
Merge pull request #8930 from dhalbert/improve-pr-merge-filenames
Fix build filenames for pr merges
2024-02-16 11:45:59 -05:00
979c2b25b3 use MICROPY_BANNER_MACHINE to fix unix build error 2024-02-16 10:42:51 -06:00
6113b2fbf2 exit with a failing status code in these cases
Closes #8848
2024-02-16 10:40:56 -06:00
339d01f58b Prevent out-of-range reads via msc
Some ports implement their own protection against this at a low level
but it doesn't hurt to add it here instead.

Based on a patch from @drath42

Closes: #8788
2024-02-16 10:28:53 -06:00
Dan Halbert
e3c4b79e29
Merge pull request #8932 from jepler/https-server-fix-espressif
espressif: Set socket type on accepted socket
2024-02-16 11:09:17 -05:00
0c23d1f1b0 espressif: Set socket type on accepted socket
With this change, https serving "works for me" on a matrixportal s3
with a modified version of
https://github.com/ide/circuitpython-https-server/
(it bundles mpy files incompatible with cpy9 and is not compatible
with current adafruit_httpserver); a PR to circuitpython-https-server
will also be forthcoming
2024-02-16 09:49:47 -06:00
CDarius
c4769515c5 Merge branch 'main' into m5dial 2024-02-16 11:31:14 +01:00
CDarius
fe7d48edd0 Add M5Stack Dial board 2024-02-16 11:22:32 +01:00
3b445f167b Rename check_rom to check_readonly 2024-02-15 22:17:00 -06:00
d7dd571326 Rename the "in_rom" flag to "readonly" 2024-02-15 22:17:00 -06:00
Dan Halbert
8932094126 Worked for pull_request actions; make it work for merge push actions 2024-02-15 21:49:10 -05:00
Dan Halbert
0c3b62fac2
Merge pull request #8926 from jepler/espressif-use-mbedtls-directly
mbedtls: move to shared-module
2024-02-15 20:14:25 -05:00
Dan Halbert
cec75dff41
Merge pull request #8929 from tannewt/cdc_rx_buf
Require 64 bytes extra CDC RX buffer
2024-02-15 20:01:31 -05:00
Scott Shawcroft
f037a1202a
Require 64 bytes extra CDC RX buffer
Once the buffer has less that an endpoint's worth, TinyUSB won't
request more from the host. When that happens, ctrl-c will no
longer be sent to the device and TinyUSB won't find the wanted
character.

Fixes #4444
2024-02-15 16:24:06 -08:00
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
76f885f861 esp32-eye: Turn off some less useful modules. 2024-02-15 15:22:49 -06:00
James Nadeau
644b3b34d1 Merge branch 'm5stack_cardputer' of github.com:jamesjnadeau/circuitpython into m5stack_cardputer 2024-02-15 16:18:27 -05:00
James
baf0e0022b
set up dual spi busses
Co-authored-by: CDarius <dcammi@gmail.com>
2024-02-15 16:17:16 -05:00
James
2874dc297a
configure 2 default spi's
thanks @CDarius

Co-authored-by: CDarius <dcammi@gmail.com>
2024-02-15 16:16:44 -05:00
James
8bb01a8a96
@CDarius found hte correct backlight PWM
Co-authored-by: CDarius <dcammi@gmail.com>
2024-02-15 16:15:20 -05:00
James
9d97f79e9e
Update ports/espressif/boards/m5stack_cardputer/board.c
Co-authored-by: CDarius <dcammi@gmail.com>
2024-02-15 16:14:16 -05:00
James Nadeau
be6804c2c2 remove UART per suggestion 2024-02-15 16:13:22 -05:00
James
3c6d33a1d1
don't swap word in software
Co-authored-by: CDarius <dcammi@gmail.com>
2024-02-15 16:12:09 -05:00
James
7811adcd6a
improve display init, thanks @CDarius
Co-authored-by: CDarius <dcammi@gmail.com>
2024-02-15 16:11:14 -05:00
James
ae30f51dfc
Update I2C pins via suggestoin from @CDarius
Co-authored-by: CDarius <dcammi@gmail.com>
2024-02-15 16:10:04 -05:00
James
e898e65303
add I2C bus per suggestion from @CDarius
Co-authored-by: CDarius <dcammi@gmail.com>
2024-02-15 16:08:03 -05:00
James Nadeau
f9c6a40ca3 rename usb to more clearly define which product 2024-02-15 16:03:46 -05:00
James
a491be6911
integrate new usb PID per suggestion from @tannewt
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2024-02-15 16:02:35 -05:00
James Nadeau
c6ad46a048 rename pins per suggestion from @RetiredWizard 2024-02-15 15:53:56 -05:00
b57c37cd34 espressif: Use mbedtls implementation of ssl module.
the mbedtls version is a bit different so there are some new #ifdefs
needed.

Tested with the ssl test from https://github.com/adafruit/circuitpython/issues/8910
on Adafruit MatrixPortal S3 (no pico w testing done)
2024-02-15 14:26:24 -06:00
9abe273afa mbedtls: move to shared-module
this enables the implementation to be shared among ports.
2024-02-15 13:30:09 -06: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