-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
esp32c3 redirection of uart serial to usb serial ? #2772
Comments
Sming doesn't use the IDF console code so alternative output mechanisms won't work. The C3 doesn't have real USB hardware but instead provides ROM functions ( The issue with An initial, simpler approach would be to implement a If you only require the port for The boot loop (rapid resetting) cause could be caused by a number of issues but can usually be diagnosed via bootloader messages. |
thanks for info |
Just looking at this issue again and I was wrong about the use of |
The reference code is in the IDF under |
This PR adds UART driver support for esp32 variants with an integrated USB JTAG/Serial port, such as esp32c3. Requires ESP-IDF version 5.2 or later. Example usage:: ``` #ifdef UART_ID_SERIAL_USB_JTAG Serial.setPort(UART_ID_SERIAL_USB_JTAG); #endif Serial.begin(...); ``` See issue #2772
On esp32c3 super mini board, I can flash from USB, but serial.println are using uart on other pins.
If in menuconfig->component config->esp system settings->channel for console output(usb serial/JTAG controller) is chosen, then output is written to USB-CDC but chip is always resetting rapidly.
What would be the procedure to enable redirection of serial.println() to USB-CDC ?
The text was updated successfully, but these errors were encountered: