You seem to be running in weird bugs here. If you can consistently reproduce the faul within the Arduino IDE, file an issue at Issues · espressif/arduino-esp32 · GitHub. Otherwise, if the issue persists in PlatformIO, file an issue in Issues · platformio/platform-espressif32 · GitHub.
1 Like