Hello everyone! So after some youtube suggestions from electronic gurus I have decided to try platformio for my ESP32S3 from seed xiao. Everything went smooth before I stumbled across Serial Monitor. It looks like platformio’s Serial Monitor cannot print anything inside setup part which is a bummer. I have tried all possible solutions related to this problem discussed online: some of them were code with delay(1000 or more) instead of while (!Serial) and without delay. Changed bunch of things in platform.ini like added flags disabled/enabled dtr, rts, changed monitor speed, played with build flags etc, etc. I am not sure if I am looking at the right spot, but my intuition tells me it is a bug. Can anyone confirm or deny it? Here is a simple code I was playing with:
#include <Arduino.h>
void setup() {
Serial.begin(115200);
while (!Serial) {
; // Wait for serial port to connect
}
Serial.println();
Serial.print("Print in void setup(): ");
}
void loop() {
Serial.println("--l--o--o--p--");
delay(2000);
}
The output looks like that:
— Terminal on COM4 | 115200 8-N-1
— Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
— More details at Redirecting...
— Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
–l–o–o–p–
–l–o–o–p–
–l–o–o–p–
–l–o–o–p–
–l–o–o–p–
Note the same code works fine in arduinoIDE
Appreciate any help.