Page 1 of 1

ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

Posted: Mon Jul 17, 2023 7:07 pm
by OpitZle
I'm running an identical sketch for the ESP32-S3 twice: Once from the Arduino IDE v1.8.19 and a second time from the Arduino IDE v 2.1.1.
The results in terms of "Serial.println(...);" statements are different:
Running from the v1.8.19 IDE, I get the results from "Serial.print(...);" statements only shown in the Serial Monitor, when I have a physical cable connection from my Windows 10 PC to the "UART" plug on the ESP32-S3 device, but nothing shown, when connecting the PC to the "USB" plug.
Running from the v2.1.1 IDE, it is exactly vice-versa: No results in the Serial Monitor when connected to "UART", but OK when connected to "USB".

Is this by intention? A Bug? A feature? Why?

Re: ESP32-S3 Support

Posted: Tue Jul 18, 2023 2:02 am
by lbernstone
Seriously threadjacking here.
There is an option under Tools to enable "USB CDC on boot". This turns on the logging to USB rather than UART. No idea why these would be different in the IDEs.

Re: ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

Posted: Tue Jul 18, 2023 10:09 am
by ESP_Sprite
I split the topic. OP: please start a new topic instead of kicking an old one in the future.

Re: ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

Posted: Tue Jul 18, 2023 11:28 am
by OpitZle
@lbernstone: You are right: The settings of the "USB CDC on boot" flag were different in my two installations. Unfortunately I can no longer find out, why they are. Most likely it is, that I have changed one of them some time ago and forgot about it.
Now I even better understand the documentation of this flags - although I find them rather brief (for beginners).

@ESP_Sprite: Sorry for using (or even threadjacking!) the wrong post with my questions. Thanks for moving them. Will try to learn further.

Is there a need to set the post to "Closed" or "Solved"?

Re: ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

Posted: Wed Jul 19, 2023 1:03 am
by ESP_Sprite
Nah, no need. And don't worry too much about the threadjacking; now you know that it's not appreciated and we're good :)