ESP32 USB OTG board needed

I’ve got the Espressif devkits that support USB OTG - ESP32-C3-DevKitM-1 and ESP32-S3-DevKitC-1 - but neither seem to be supported by PlatformIO.

Do you have a suggestion for an ESP32 that does USB OTG and is also supported by PlatformIO?

The ESP32-C3 does NOT have a USB OTG peripheral. It has a USB peripheral restricted to JTAG and USB CDC (serial connection). So it can be used for uploading, debugging and for serial communication.

For the serial communication, just use USBSerial instead of Serial, e.g.:

#include <Arduino.h>

void setup() {
    USBSerial.begin(115200);
}

void loop() {
    USBSerial.println("Hello, world!");
    delay(2000);
}

Note that immediately after uploading code, the serial communication will not work. You have to press the RESET button first.