-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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-S3 and ESP-IDF don't play well with USB_CDC and need USB_SERIAL_JTAG #5929
Conversation
Hey there @esphome/core, mind taking a look at this pull request as it has been labeled with an integration ( |
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
gonna add the C3 as well. |
Hey there @esphome/core, mind taking a look at this pull request as it has been labeled with an integration ( |
Tested on S3, C3 and plain ESP32. Also tested on RP2040. |
Arduino on ESP32-C3 is still not right. The current setup results in a default of UART0, which means no output when using the USB_CDC port. If I tweak the config to allow USB_CDC for C3 then it fails at compile time because So for now I think it's best left as is and note that USB serial is not supported on the C3 under Arduino. |
It behaves this way even with this added? 🤔 |
Yes. That works fine with S3, but on C3
|
Oh, well this is weird, it's now working with Arduino on C3, with the default as UART0. |
instead.
What does this implement/fix?
Fixes compile errors when compiling for ESP-IDF on ESP32-S3 (and probably S2) due to change introduced with
#4853.
Types of changes
Related issue or feature (if applicable): fixes
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#
Test Environment
Example entry for
config.yaml
:# Example config.yaml
Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed: