Adding support for ESP32 boards in the Arduino IDE

This is  the github instructions, I have been looking at the ESP32 module

My ESP Arduino installation is located at J:\esp on my PC but other than changing the paths everything went as planned. The board I bought was a Lolin32 from Wemos – we’ll come to that later

Tested on 64 bit Windows 10 machine (I don’t have 32 Bit)

  1. Download and install the latest Arduino IDE Windows Installer from arduino.cc
  2. Download and install Git from git-scm.com
  3. Start Git GUI and run through the following steps:
    • Select Clone Existing Repository
    • Select source and destination
      • Source Location: https://github.com/espressif/arduino-esp32.git
      • Target Directory: C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32
      • Change this to your Sketchbook Location if you have a different directory listed underneath the “Sketchbook location” in Arduino preferences.
      • Click Clone to start cloning the repository
      •  
    • Open C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools and double-click get.exe
    • When get.exe finishes, you should see the following files in the directory
  4. Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)
  5. Start Arduino IDE
  6. Select your board in Tools > Board menu
  7. Select the COM port that the board is attached to
  8. Compile and upload (You might need to hold the boot button while uploading)

How to update to the latest code

 

  1. Start Git GUI and you should see the repository under Open Recent Repository. Click on it!

 

  1. From menu Remote select Fetch from > origin
  2. Wait for git to pull any changes and close Git GUI
  3. Open C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools and double-click get.exe

Related posts

How to make a simple ESP32 Wifi network scanner

A look at an ESP32 board with a built in OLED display

esp32 technical reference manual