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 shown online: some of them were code with delay() instead of while (!Serial) and vise versa. Changed bunch of things in platform.ini like added flags disabled 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 trying:
#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);
}
And the output looks like that
--- forcing DTR inactive
--- forcing RTS inactive
--- 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
19:32:35.144 > --l--o--o--p--
Appreciate any help.