Greeting,
I'm pretty new here and I just bought an arduino nano esp32 board but I have a problem.
I tried to find similar things on the forum but I had no luck.
I get this error when uploading the normal initial code.
Welcome to the Arduino community! It sounds like you're encountering some issues with uploading code to your Arduino Nano ESP32 board. Here are some steps you can try to troubleshoot this problem:
Make sure you are using the latest version of the Arduino ESP32 Boards core. You can update it by going to Arduino IDE's menu: Tools > Board > Boards Manager, and then updating the Arduino ESP32 Boards core to the latest version available.
If updating the core doesn't work, try uninstalling and reinstalling the core. Sometimes a fresh installation can resolve compatibility issues.
Double-check that you have selected the correct board from the Tools > Board menu before uploading your sketch.
If you're still experiencing issues, try pressing the RST button on your board twice in quick succession to set it in bootloader mode. Then, select the correct port again and try uploading the Blink example sketch to see if it works.
I hope one of these solutions helps you resolve the problem. If you need further assistance, feel free to ask!