Header Ads Widget

Arduino IDE for Building ESP32 Compilation Environments - Bogor Tech

 Arduino IDE is simple!




There are many development platforms for ESP32 (ESP-WROOM-32). In some situations, using Linux or cygwin on Windows is quite intimidating for beginners. Using the Arduino IDE is a more user-friendly approach.

1. Add Board URL to Arduino IDE

Open Arduino IDE (I'm using version 1.8.0).

An installation tutorial for the Arduino IDE can be found here.

Navigate to File > Preferences and click the circled button as shown below:


Enter the following URL in the new pop-up window.

https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json

You will see this progress window:


After the input is complete, click OK.

2. Update Board List

After adding the URL of the ESP32 mainboard (ESP-WROOM-32) to the Arduino IDE, we need to update the board list, and use the Arduino IDE to download the ESP32 library (ESP-WROOM-32).

Go to Tools->Development board->Development board manager , as shown below:


After opening the development board manager, the list of boards will be updated automatically, as can be seen below:



3. Install ESP32 (ESP-WROOM-32)

After completing the update, you will find the Mainboard FireFly-ESP32 option which you can then edit.


Select "(FireBeetle-ESP32 Mainboard)" and click "Install". The manager will automatically download the relevant libraries.




4. Develop the Blink Program

Now that our compilation environment is set up, we can upload the test program.

Go to tools->development boards, select the Firefly-ESP32 mainboard, as shown in the following:



Navigate to Tools > Board and Select Firefly-ESP32 from the list.

Please Note: If you have not installed the ESP32 mainboard (ESP-WROOM-32) you will not see the board in the list, so make sure you follow the steps above to install it first.

Go to File->Examples->Basics->Blink , as shown below:



Click the 

 
button to start compiling.



Post a Comment

0 Comments