Commit Graph

282 Commits

Author SHA1 Message Date
Dominic Davis-Foster 319ca8560c
Always configure the second PCNT channel. 2022-03-31 20:00:34 +01:00
Dominic Davis-Foster 6d025a239e
Add espressif rotaryio divisor support. 2022-03-28 09:04:02 +01:00
Scott Shawcroft ee4c501936
Merge remote-tracking branch 'adafruit/main' into c3_serial_jtag 2022-03-23 12:17:02 -07:00
Scott Shawcroft f5d90fc84f
Switch to port_serial_* hooks
This makes it easier to integrate port specific serial alongside
the common approaches.
2022-03-22 19:40:33 -07:00
Scott Shawcroft 110857c12e
Actually turn on serial over Serial/JTAG for QTPy 2022-03-22 11:45:47 -07:00
Scott Shawcroft b8d1bb1d5d
Shrink C3 builds 2022-03-22 10:46:57 -07:00
Scott Shawcroft 4363361c87
Board definition clean up
Removes:
* AUTORESET_DELAY_MS which never did anything but was introduced
  somehow.
* CIRCUITPY_BOOT_BUTTON in all but one ESP board because they all have
  them. There is a default based on the strapping pins.
* BOARD_USER_SAFE_MODE_ACTION because it was all the same for boards
  with boot buttons. Now the safe mode code manages the message.
2022-03-21 17:58:43 -07:00
Scott Shawcroft 623b6fad16
Fix nested categories in update_sdkconfig.py
Also, mark QTPy C3 as BIN only.
2022-03-21 17:04:19 -07:00
Scott Shawcroft 6dd9db31b3
Add USB to Serial/JTAG support for REPL
Adds Adafruit QT Py C3 board that uses it. Also revamps size
check script to work for S3 and C3 as well.

Fixes #6030
2022-03-21 14:03:57 -07:00
Jeff Epler 4465adfe01
Merge pull request #6175 from tannewt/mdns
Add mdns module
2022-03-21 15:55:03 -05:00
Scott Shawcroft 92d946fcac
Guard against NULL result 2022-03-21 10:15:46 -07:00
lady ada fdf27eee12 add feather esp32-s3 8mb flash, 0 psram 2022-03-19 23:04:20 -04:00
Scott Shawcroft 6f0d62d85e
Formatting and shrink build size on C3 2022-03-18 12:05:54 -07:00
Jeff Epler e9d81c2826
Add mdns module
This allows for CircuitPython to resolve a .local domain and find
other devices with MDNS services.

First step for #6174
2022-03-17 18:16:16 -07:00
Michael Himing da92d508c2 lilygo_ttgo_t-01c3: Add creation ID 2022-03-17 19:21:34 +11:00
Michael Himing de168b106c Add board lilygo_ttgo_t-01c3 2022-03-17 17:24:24 +11:00
Dan Halbert af9f80daeb
Merge pull request #6144 from tannewt/back_to_idf4.4
Update ESP-IDF to fix PinAlarm
2022-03-15 17:10:42 -04:00
Dan Halbert f13d218749
Merge pull request #6125 from tannewt/usb_host
Start of USB host API
2022-03-11 21:41:28 -05:00
Scott Shawcroft 96dd11a198
Update ESP-IDF to fix PinAlarm
Fixes #5973
2022-03-11 14:40:49 -08:00
Dan Halbert 862210b3fb
Merge pull request #6135 from CircuitART/main
merge hexky_s2 board
2022-03-11 07:48:54 -05:00
CircuitART 43bd2c41e0
Update pins.c 2022-03-11 13:27:08 +08:00
CircuitART 597430ef96
Update pins.c 2022-03-11 12:26:49 +08:00
CircuitART 016bc00f01
Update pins.c
fixed
2022-03-11 11:54:32 +08:00
Scott Shawcroft c9ec5c89b6
Fix ESP32-S3 box display color order 2022-03-10 15:50:07 -08:00
CircuitART 4bfe9e53df
merge hexky_s2 board
Hello, please add support to my custom esp32-s2 board.
thanks
2022-03-10 13:27:14 +08:00
Dan Halbert 442026548f
Merge pull request #6084 from fabaff/lilygo-ttgo-esp32-s2
Add support for LILYGO TTGO T8 ESP32-S2-WROOM
2022-03-08 21:00:44 -05:00
Fabian Affolter 0a72420dcb Add support for LILYGO TTGO T8 ESP32-S2-WROOM 2022-03-08 20:07:37 +01:00
Fabian Affolter 1b1b363515 Add support for LILYGO TTGO T8 ESP32-S2 2022-03-08 19:56:41 +01:00
Dan Halbert 1c8f671f0a
Merge pull request #6118 from pewpew-game/parallel-reset-optional
paralleldisplay: reset and read pins should be optional
2022-03-08 09:34:25 -05:00
Michael Himing bc1dade304 Espressif: Fix i2c pullup detection 2022-03-08 16:39:24 +11:00
Scott Shawcroft 83593a1558
Start of USB host API
This allows you to list and explore connected USB devices. It
only stubs out the methods to communicate to endpoints. That will
come in a follow up once TinyUSB has it. (It's in progress.)

Related to #5986
2022-03-07 18:07:25 -08:00
Radomir Dopieralski b5ad78715c
Update ports/espressif/common-hal/paralleldisplay/ParallelBus.h
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-05 21:48:00 +01:00
Radomir Dopieralski f477848ac1 paralleldisplay: reset and read pins should be optional
The ``reset`` and ``read`` pins should be optional, but the espressif
code had several places where it assumed they are not, and a bug that
caused a crash on ``release_displays`` if they were made optional.

The bug was caused by the fields for storing pin numbers being set
to ``NO_PIN``, which has value of -1, while the fields have type
``uint8_t``.  That set the actual value to 255, and a subsequent
comparison to ``NO_PIN`` returned false.
2022-03-05 18:54:12 +01:00
Dan Halbert 90c5fb2515
Update ports/espressif/boards/adafruit_feather_esp32s2/pins.c 2022-03-01 19:56:23 -05:00
lady ada ee52795540 fix automatic i2c enablement with rev C 2022-03-01 18:15:37 -05:00
foamyguy 2f57800ffd update nina-fw submodule 2022-02-27 16:15:57 -06:00
lady ada a9d87e6e8b fix missing pins, speed up 2022-02-25 20:30:35 -05:00
Scott Shawcroft e2f56e9031
Merge pull request #6065 from prplz/ai-thinker-esp32c3s-changes
ai_thinker_esp32-c3s: Pull LEDs down on reset
2022-02-22 10:53:50 -08:00
Scott Shawcroft 85b53eab0a
Merge pull request #5963 from arturo182/esp32-s3-devkitm-1
espressif: Add ESP32-S3-DevKitM-1 board support
2022-02-22 10:48:07 -08:00
Michael Himing dbedb1575e ai_thinker_esp32-c3s: Pull LEDs down on reset 2022-02-19 14:30:51 +11:00
arturo182 e57e4bd667 esp32s3: Rename to devkitm_1 to devkitm_1_n8 to make more future-proof 2022-02-18 21:32:36 +01:00
Dan Halbert 57bbe7922d
Merge pull request #6058 from Neradoc/add-hiibot-iots2
Add hiibot iots2
2022-02-18 12:18:25 -05:00
Dan Halbert 1c3e03d1b1
Merge pull request #6057 from tannewt/board_pin_reset
Allow ESP boards to customize how a pin is reset
2022-02-17 21:12:11 -05:00
Dan Halbert 60ceb6e367
Merge pull request #6043 from makermelissa/main
Add PortalBase and Fake Requests and update Frozen Libs on Portal boards
2022-02-17 20:19:33 -05:00
Scott Shawcroft 5a51aa2a75
Merge pull request #6056 from Neradoc/qtpys2-debug-uart
free RX and TX on QTPY-ESP32S2 in non debug builds
2022-02-17 17:02:46 -08:00
Scott Shawcroft c4fb5f7df1
Allow ESP boards to customize how a pin is reset
This allows board code to override the default pull up reset state.

It is useful for pins that are already externally connected, pulled
or otherwise used by the board.

Fixes #5931
2022-02-17 16:32:29 -08:00
Neradoc 3acb0d48bc free RX and TX on QTPY-ESP32S2 in non debug builds 2022-02-18 01:13:37 +01:00
Dan Halbert fe6e03f504
Merge pull request #6013 from tannewt/esp_ble_gatt_client
Add S3 GATT client support
2022-02-17 16:02:11 -05:00
Neradoc aedae120c7 use espressif assigned PID for Hiibot IOTS2 2022-02-17 15:06:38 +01:00
Neradoc 139c2710aa rebase, fix call to common_hal_busio_spi_construct 2022-02-17 14:41:47 +01:00