I am pretty sure that you can flash a new sketch without these flags. However, the Serial
object will then no longer output via the native USB port but via the UART pins. Therefore you will not see the serial output.
You can test it with a sketch that flashes an LED instead of Serial.println()
.
See also ESP32-S3 native USB interface and Serial Monitor missing first messages - #10 by sivar2311