ESP32 Arduino-Core

How install Arduino Core For ESP32?

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):

  • Restart Arduino IDE
  • Done !

Arduino Core for ESP32 Environment with DFRobot ESP32

  •  Update the Board List
    • Go to Tools > Board > Boards Manager 

Full Contents :

 


Next : ESP32 ArduinoCore Interface – Basic Example (Serial, GPIO, Timer, etc)

Previous : ESP32 – Different Kind of Programming Language for ESP32