Since updating to Arduino 1.8.9, I have no end of problems with MAC laptops both the very new models and the older ones. We’ve uploaded the correct boards and it still gives us an error (see below) when trying to compile. The PC laptops had no issues in the earlier Arduino IDE version. Any thoughts?
UPDATE: the ESP32 now does not run in any MAC laptop and several PC laptops; giving the following error reading when trying to compile:
exec: “C:\\Users\\(UserName)\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++”: file does not exist
Error compiling for board Adafruit ESP32 Feather.
Can you remove the ESP32 add-on for the Arduino IDE and re-install it? It looks like it’s failing to find the ESP32 add-on and usually re-installing fixes the problem.
- Installing the ESP32 Board in Arduino IDE (Windows instructions)
- Installing the ESP32 Board in Arduino IDE (Mac OS X and Linux instructions)
Let me know if the error happens after that.
Thank you for your reply. I have now got most of the PCs recognizing the ESP32, but the students with Macs (OS Mojave) are now having new error messages:
“Fatal Error Occurred: Failed to connect to ESP32. Timed Out waiting for packet header.”
Can you please advise what these students can do?
Hello again,
please read the troubleshooting guide: https://rntlab.com/esp32-troubleshooting-guide/
In step “4. A fatal error occurred: “Failed to connect to ESP32: Timed out… Connecting…”” it’s described exactly what you need to do to fix that error.
You might also be able to solve that problem permanently by following this guide:
I hope that helps.
Regards,
Rui