ESP32 Boards Error in Arduino IDE — Here’s How I Fixed It!

When I first tried to install the ESP32 boards in the Arduino IDE using the standard Boards Manager, I ran into a frustrating error.

This timeout error prevented me from completing the installation, and after several attempts, I realized that relying on the automated process wasn’t going to work. That’s when I decided to switch to a manual installation method.
In this article, I’ll walk you through the exact steps I followed to manually install the ESP32 boards in the Arduino IDE.

Download the ESP32 Core Source

To begin, you’ll need to grab the latest source files directly from the Official Espressif GitHub Repository. Simply click the green “Code” button, select “Download ZIP,” and save it to your computer.

Once the download is complete, extract the contents and you’ll be left with a folder typically named arduino-esp32-master. This contains all the core files we’ll be placing into the Arduino directory in the next step.

Locate Your Sketchbook

Think of the Arduino IDE as having two separate sections: one for the main app and one for your personal work. It keeps its own system files in one place and your custom projects and boards in another called the Sketchbook. This setup is great because it means when you update the software, your custom boards and projects won’t get deleted or messed up. Because of this, the IDE will only scan the Sketchbook folder for third-party boards like the ESP32. If the files aren’t in this exact location, the “ESP32” option simply won’t appear in your menu.
 
To find your specific path:
  1. Open the Arduino IDE.
  2. Go to File > Preferences.
  3. Note the path listed under Sketchbook location (on Windows, this is usually Documents/Arduino).

Create the Hardware Folder Structure

The Arduino IDE requires a specific “nesting” of folders to recognize the new hardware.

  1. Navigate to your Sketchbook location in File Explorer.
  2. Create a folder named hardware.  
  3. Inside hardware, create a folder named espressif.
  4. Inside espressif, paste your downloaded ESP32 core folder and rename it simply to esp32.

Your final path must look like this:
Documents/Arduino/hardware/espressif/esp32/

Run the Tool Compiler

Even with all the folders in the right place, there is one last thing to do. You need to download the “compiler,” which is the engine that actually turns your code into a language the ESP32 chip understands.

To finish the installation:

  1. Find the ‘tools’ folder: It’s right there inside the esp32 folder you just set up.
  2. Run ‘get.exe’: Inside the tools folder, look for a file called get.exe. Right-click it and select Run as Administrator.

Now wait for the magic! A black window will pop up and start downloading files. This procedure can take anywhere from 10 to 15 minutes depending on your internet.

After downloading the ESP32 package, the installation window will close automatically, indicating that the process is complete.
To verify that the manual installation was successful, restart the Arduino IDE. Then, navigate to Tools > Board and check the list of available boards. If the installation worked correctly, you should see options such as ESP32 Dev Module, ESP32 Wrover Module, and other ESP32 variants.

That’s it! Once your ESP32 boards are showing up in the Arduino IDE, you’re ready to dive into your projects and start experimenting. For me, this process was a little tricky at first, but it pushed me to search for answers, learn new things, and understand the setup more deeply.

If you’ve faced the same ESP32 error, I hope this post helped you tackle the issue and taught you something new. Thanks for reading, and I’ll see you in the next post!
Jawher

Scroll to Top