Search found 1 match

by jimmerkle
Fri Feb 24, 2023 11:16 pm
Forum: ESP-IDF
Topic: ESP IDF printf
Replies: 3
Views: 5448

Re: ESP IDF printf

Many stdio libraries will buffer a printf() / stdout stream, collecting characters and sending them as a group, usually triggered by a line feed.
Try disabling stdout buffering:

setvbuf(stdout, NULL, _IONBF, 0); // Disable stdout buffering