Tuesday, September 26, 2017

How to Install ESP32 Board in Arduino IDE ( Ubuntu /Debian )

How to Install  ESP32 Board in Arduino IDE ( Ubuntu /Debian )

Now a days ESP32 become more popular than NodeMCU.

ESP32 board is not available in Arduino IDE.

For Adding ESP32 Board in Arduino IDE

First you have to install the latest Arduino IDE from arduino.cc

Run the following commands in a terminal

sudo usermod -a -G dialout $USER && \
sudo apt-get install git && \
wget https://bootstrap.pypa.io/get-pip.py && \
sudo python get-pip.py && \
sudo pip install pyserial 
 Now make a folder espressif in your arduino/hardware folder and change to that directory
 mkdir -p ~/Arduino/hardware/espressif 
cd ~/Arduino/hardware/espressif  
now run the following command
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
cd esp32/tools/ && \
python get.py
Copy and paste the above all commands in a terminal. 
It will download and install all the required files and settings.

Restart Arduino IDE.

No comments: