Hello @thomasgz1973 and welcome to the forum!
For better readability I edited your post and used pre-formatted text for code and log sections.
This board definition has -DARDUINO_USB_CDC_ON_BOOT=1 which is the equivalent to USB CDC On Boot: "Enabled" in the ArduinoIDE
This means that the output of the Serial object is routed to the native (builtin) USB port instead to the UART pins.
In this mode you must use Serial0 object to output your text to UART pins.
Please show a screenshot of your ArduinoIDE settings to find out which platformio settings are suitable for your board.