update to 2.1.0

This commit is contained in:
Luc 2016-02-28 01:15:48 +01:00
parent 9885d2cab9
commit cf14919d4b

View File

@ -17,21 +17,15 @@ before_script:
- cd $HOME/arduino_ide/hardware
- mkdir esp8266com
- cd esp8266com
- wget https://github.com/esp8266/Arduino/releases/download/2.0.0/esp8266-2.0.0.zip
- unzip esp8266-2.0.0.zip
- mv esp8266-2.0.0 esp8266
- wget http://arduino.esp8266.com/versions/2.0.0/package_esp8266com_index.json
- wget https://github.com/esp8266/Arduino/releases/download/2.1.0/esp8266-2.1.0.zip
- unzip esp8266-2.1.0.zip
- mv esp8266-2.1.0 esp8266
- wget http://arduino.esp8266.com/versions/2.1.0/package_esp8266com_index.json
- mkdir esp8266/package
- mv package_esp8266com_index.json esp8266/package/package_esp8266com_index.template.json
- cd esp8266/tools
- python get.py
- cd ..
- head -11 ./platform.txt > pt.txt
- echo 'runtime.tools.xtensa-lx106-elf-gcc.path={runtime.platform.path}/tools/xtensa-lx106-elf' >> pt.txt
- echo 'runtime.tools.esptool.path={runtime.platform.path}/tools/esptool' >> pt.txt
- tail -105 ./platform.txt >> pt.txt
- rm -fr platform.txt
- mv pt.txt platform.txt
script: