...Serial.flush() called · Issue #9172 · espressif/arduino...
Using "USB CDC on boot : enabled": If the supermini is powered via a phone charger with no PC connection, Serial.flush() appears to cause a hang. Sketch /* esp32-c3 supermini test similar to: https://www.tindie.