Rework the sketch builder to match the IDE (#3146)

* Rework the sketch builder to match the IDE

* Link the board to the home folder

* Rename files for clarity

* move ci files to own subfolder

* Update Github CI to use the new script locations
This commit is contained in:
Me No Dev
2019-08-28 01:28:11 +03:00
committed by GitHub
parent fd089d8fd3
commit 7a574399b1
12 changed files with 108 additions and 118 deletions

13
tools/ci/prep-arduino-ide.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
pip install pyserial
wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
tar xf arduino.tar.xz
mv arduino-nightly $HOME/arduino_ide
mkdir -p $HOME/Arduino/libraries
mkdir -p $HOME/Arduino/hardware/espressif
cd $HOME/Arduino/hardware/espressif
ln -s $TRAVIS_BUILD_DIR esp32
cd esp32/tools
python get.py