Page 1 of 1

ESP32-S3 jtag cannot flush

Posted: Sat Apr 26, 2025 5:06 am
by woodymemento
Hi ESP-IDF forum.
I'm using ESP-S3 jtag for USB serial log output.
I want to flush log before light sleep and
write as follows

Code: Select all

 
	fflush(stdout); 
 	fsync(fileno(stdout));
but it didn't flushed.
I think it mean that ESP-S3's jtag don't equal stdout but
I don't undersand detail.
Please teach me how to flush ESP-s3 jtag log.
thanks