I have a simple initialization of my Arduino sketch, which I compile and run from PlatformIO on Esp32.
void setup() {
Serial.flush();
Serial.begin(921600);
Serial.println();
Serial.println("Started");
}
the problem is that when I press "Upload and Monitor", I get a lot of garbage in the output, of which I cannot find the origin.
Note that "Started" properly shows, as I would expect, because the baud rate of the terminal and Serial are both set to 921600. I tried various baud rates, but all with the same result. Any ideas where this is coming from?
