I have been working with ESP boards for a while and I like to use Serial.flush() for debugging purposes.
This has always worked in the past with no problems.
I have just recently started using the ESP32-S3 modules and have run into the following issue:
If I use Serial.flush() the call will hang forever if I do not have the USB connection to my computer AND I do not have a serial console started. As soon as I connect USB and then start serial console the code moves past Serial.flush().
I am using Visual Studio Code with PlatformIO.
On other modules like ESP32-S2 I do not have this issue. Serial.flush() does NOT hang if I do not have USB and console connected.
Just wondering if anyone has run into this?
Thank You,
-Pete
ESP32-S3 - System hangs on Serial.flush() IF serial console is not connected.
-
- Posts: 1
- Joined: Fri Dec 15, 2023 7:20 am
Re: ESP32-S3 - System hangs on Serial.flush() IF serial console is not connected.
Did you ever solve this? I'm having the same issue! Thanks.
Who is online
Users browsing this forum: No registered users and 136 guests