esp32-C3 usb serial/jtag for flashing AND serial console output
Posted: Wed Jun 15, 2022 12:24 pm
I'm using PlatformIO with Arduino framework in Visual Studio Code on Ubuntu 22.04.
I'm able to flash my ESP32-C3 module using the built-in serial/jtag module (it shows up as /dev/ttyACMx) while monitoring serial debug prints on the uart0 pins (with usb-uart adapter, appears as /dev/ttyUSBx).
However I'm unable to redirect serial prints to the USB CDC peripheral. That makes it pointless as I don't have extra pins for both USB and UART0 in my actual application.
As per
https://docs.espressif.com/projects/esp ... nsole-uart
In ESP-IDF, menuconfig has an option for selecting USB CDC for the serial console for chips with the serial/jtag peripheral.
Is there any way to select this option in the Arduino framework ?
cheers
I'm able to flash my ESP32-C3 module using the built-in serial/jtag module (it shows up as /dev/ttyACMx) while monitoring serial debug prints on the uart0 pins (with usb-uart adapter, appears as /dev/ttyUSBx).
However I'm unable to redirect serial prints to the USB CDC peripheral. That makes it pointless as I don't have extra pins for both USB and UART0 in my actual application.
As per
https://docs.espressif.com/projects/esp ... nsole-uart
In ESP-IDF, menuconfig has an option for selecting USB CDC for the serial console for chips with the serial/jtag peripheral.
Is there any way to select this option in the Arduino framework ?
cheers