Logging with USB Serial / JTAG peripheral on ESP32-S3 #2185
Replies: 1 comment
-
ah, figured it out, if anyone else ends up here. in the main function, open with this:
and in
but do NOT add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
First of all, thanks Phil for this library, it's very full featured and looks like it offers everything I need for the application.
I'm accustomed to using the native USB Serial / JTAG peripheral on the ESP32S3 to simultaneously debug and view log output. I'm trying to use Arduino as an ESP32S3 component, which is working well so far. I'd prefer not to use Arduino at all, but the provided abstractions for SPIFFS and the SD card are indeed useful, and I had some issues with dependency resolution when attempting to follow the steps here with ESP-IDF v5.5.1.
So, I'm committed to the the Arduino-as-component workflow. As I understand it, the Arduino core by default configures the USB PHY on the ESP32-S3 to either operate in CDC mode or in USJ mode. I'd like to use USJ mode, and I'd like to be able to use the built-in log functions
So, I'm curious: from within the Arduino core, is there an easy way to send log output to the USB Serial/JTAG peripheral without reconfiguring it as USB CDC?
thanks!
Beta Was this translation helpful? Give feedback.
All reactions