OK, I see the cause of the error now. You must select the appropriate board model from Arduino IDE's Tools > Board > esp32 menu.
After doing that, try compiling or uploading the sketch again. Hopefully this time it will work as expected.
OK, I see the cause of the error now. You must select the appropriate board model from Arduino IDE's Tools > Board > esp32 menu.
After doing that, try compiling or uploading the sketch again. Hopefully this time it will work as expected.