-
Install latest Arduino IDE from arduino.cc
-
Open Terminal and execute the following command (copy->paste and hit enter):
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 && \ mkdir -p ~/Arduino/hardware && \ cd ~/Arduino/hardware && \ git clone https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.git heltec && \ cd heltec/esp32 && \ git submodule update --init --recursive && \ cd tools && \ python get.py && \ cd ~/Arduino/hardware/heltec/esp8266 && \ git submodule update --init --recursive && \ cd tools && \ python get.py
-
Restart Arduino IDE
-
If you have Arduino.app installed to /Applications/, modify the installation as follows, beginning at
mkdir -p ~/Arduino...
:
cd /Applications/Arduino_*/Contents/java/
mkdir -p hardware && \
cd hardware && \
git clone https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.git heltec && \
cd heltec/esp32 && \
git submodule update --init --recursive && \
cd tools && \
python get.py && \
cd /Applications/Arduino_*/Contents/java/hardware/heltec/esp8266 && \
git submodule update --init --recursive && \
cd tools && \
python get.py