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.
Contents
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
- Source Location
- Open
C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools
and double-clickget.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 underOpen Recent Repository
. Click on it! - From menu
Remote
selectFetch 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-clickget.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
- Add the board URL to Arduino IDE
- Open Arduino IDE (I’m Using version 1.8.0)
- File > Preference > in Additional Board Manager URL
- if using DFRobt : Enter the following URL in the new pop-up window. https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json
- After the input is completed, click OK.
- Update the Board List
- Go to Tools > Board > Boards Manager