Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-C6: don't use LP (low-power) UART #9579

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Aug 29, 2024

  1. ESP32-C6 and ESP32-P4 have a new "low-power" UART, which has less functionality and only works on certain pins. It is in the regular UART numbering scheme. Don't use it, at least for now (it has some wake-up ability for sleep, so it might be interesting in the long run).
  2. UART() constructor was not cleaning up when uart_set_pin() failed.
  3. Loop searching for a free UART was picking the last available one instead of the first available one.
  4. Also removed redundant CIRCUITPY_ESP_USB_SERIAL_JTAG = 1 from a C6 board. It's already set by default. (I had removed that line while attempting to debug this.)

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for figuring this out!

@dhalbert dhalbert merged commit e680f66 into adafruit:9.1.x Aug 29, 2024
205 of 206 checks passed
@dhalbert dhalbert deleted the 9.1.x-esp32-c6-uart-fix branch August 29, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants