• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

How do you set up Mac (and some PCs) to recognise the ESP32 (Adafruit Huzzah) boards?

Q&A Forum › Category: ESP32 › How do you set up Mac (and some PCs) to recognise the ESP32 (Adafruit Huzzah) boards?
0 Vote Up Vote Down
Jacob George asked 6 years ago

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.

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

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.

0 Vote Up Vote Down
Jacob George answered 6 years ago

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?

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

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:

  • How to solve Failed to connect to ESP32: Timed out waiting for packet header

I hope that helps.

Regards,
Rui

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.