File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 44 - IDE_VERSION=1.8.5
55 matrix :
66 - BOARD="arduino:avr:uno"
7+ - BOARD="espressif:esp32:esp32"
78before_install :
89 - wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
910 - tar xf arduino-$IDE_VERSION-linux64.tar.xz
1011 - mv arduino-$IDE_VERSION $HOME/arduino-ide
1112 - export PATH=$PATH:$HOME/arduino-ide
13+ - if [[ "$BOARD" =~ "espressif:esp32:" ]]; then
14+ mkdir -p $HOME/Arduino/hardware/espressif;
15+ git clone https://github.com/espressif/arduino-esp32.git $HOME/Arduino/hardware/espressif/esp32;
16+ pushd $HOME/Arduino/hardware/espressif/esp32/tools/;
17+ python get.py;
18+ popd;
19+ fi
1220 - buildExampleSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/$1/$1.ino; }
1321install :
1422 - mkdir -p $HOME/Arduino/libraries
You can’t perform that action at this time.
0 commit comments