echo '' ;

ESP32 Arduino-Core

ESP32 Arduino Core is one of the platforms for ESP32 microcontrollers if you don’t know How install Arduino Core For ESP32? this post will help you.


Install Instruction: For Windows

Note : This tested on 32 and 64 bit windows 10 machines

  • Download and install the latest Arduino IDE
  • Download  and install git
    • 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
      • 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
  • Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)
  • Start Arduino IDE
  • Select your board in Tools > Board menu
  • Select the COM port that the board is attached to
  • Compile and upload (You might need to hold the boot button while uploading)
  • Done !

How to update to the latest code

  • Start Git GUI and you should see the repository under Open Recent Repository. Click on it!
  • From menu Remote select Fetch from > origin
  • Wait for git to pull any changes and close Git GUI
  • Open C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools and double-click get.exe
  • Done !

Install Instruction: for Mac

  • Install latest Arduino IDE from arduino.cc
  • Open Terminal and execute the following command (copy->paste and hit enter):

mkdir -p ~/Documents/Arduino/hardware/espressif && \ cd ~/Documents/Arduino/hardware/espressif && \ git clone https://github.com/espressif/arduino-esp32.git esp32 && \ cd esp32/tools/ && \ python get.py

  • Restart Arduino IDE
  • Done !

Arduino Core for ESP32 Environment with DFRobot ESP32



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.