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.
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
+,
).
In the Additional Boards Manager URLs field, add the following URL
Click OK. Now, additional boards should be available in the 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:
Tools
> Board
> Boards Manager
;Ctrl
+ Shift
+ B
;Search for ESP32 in the Boards Manager search bar, select ESP32 by Espressif Systems, and install the package:
Now, the ESP32 boards should be available in the board list. Open the board selector menu:
Select your board and the associated serial port. In my case, FireBeetle due to its very low power consumption
To check your installation, you can now try your setup with one of the provided example:
That's all folks!
Below is a copy of the ESP32 package provided by Espressif:
package_esp32_index.json (November 27, 2022 version)