How to install ESP32 boards in the Aduino IDE?

This page presents how to install ESP32 Add-on in Arduino IDE. In other words, how to program ESP32 chip with Arduino IDE? The tutorial presented on this page has been done on Windows 10 with the Arduino IDE 2.0.1. However, it has also been tested on Linux, and should work on Mac OS.

The following assume a recent version of the Arduino IDE is installed. If not, check the Arduino Software download page and install the the right version for your system.

Install ESP32 package

The first step is to install the ESP32 add-on to add the ESP32 package. In the Arduino IDE, open the preferences menu (File > Preferences) or press Ctrl + Comma (Ctrl+,).

Preference menu in the Arduino IDE

In the Additional Boards Manager URLs field, add the following URL

Add ESP32 additional boards in the Arduino IDE

Click OK. Now, additional boards should be available in the Boards manager.

Boards manager

Once the additional boards are available, let's add the ESP32 in the board manager. Go to the boards manager with one of the following options:

Open the Arduino IDE board manager

Search for ESP32 in the Boards Manager search bar, select ESP32 by Espressif Systems, and install the package:

Install ESP32 package in the Arduino IDE editor

Select ESP32 board

Now, the ESP32 boards should be available in the board list. Open the board selector menu:

Open board selector menu

Select your board and the associated serial port. In my case, FireBeetle due to its very low power consumption

Select ESP32 board and serial port

To check your installation, you can now try your setup with one of the provided example:

ESP32 example sketch in the Arduino IDE

That's all folks!


Below is a copy of the ESP32 package provided by Espressif:

package_esp32_index.json (November 27, 2022 version)

See also

Last update : 11/27/2022