kopia lustrzana https://github.com/martin-ger/esp_mqtt
test travis 1
rodzic
3f55b6ce7b
commit
676513735a
|
@ -7,13 +7,16 @@ install:
|
||||||
- git clone https://github.com/themadinventor/esptool.git tools/esptool
|
- git clone https://github.com/themadinventor/esptool.git tools/esptool
|
||||||
- wget https://github.com/nodemcu/nodemcu-firmware/raw/master/tools/esp-open-sdk.tar.gz -O tools/esp-open-sdk.tar.gz
|
- wget https://github.com/nodemcu/nodemcu-firmware/raw/master/tools/esp-open-sdk.tar.gz -O tools/esp-open-sdk.tar.gz
|
||||||
- tar -zxvf tools/esp-open-sdk.tar.gz
|
- tar -zxvf tools/esp-open-sdk.tar.gz
|
||||||
- export PATH=$PATH:$PWD/esp-open-sdk/sdk:$PWD/esp-open-sdk/xtensa-lx106-elf/bin
|
- export PATH=$PATH:$PWD/esp-open-sdk/xtensa-lx106-elf/bin
|
||||||
|
- export SDK_BASE=$PWD/tools/ESP8266_NONOS_SDK
|
||||||
|
- chmod +x $PWD/tools/esptool/esptool.py
|
||||||
|
- export ESPTOOL=$PWD/tools/esptool/esptool.py
|
||||||
- wget http://bbs.espressif.com/download/file.php?id=1613 -O tools/ESP8266_NONOS_SDK_V2.0.0_16_07_19.zip
|
- wget http://bbs.espressif.com/download/file.php?id=1613 -O tools/ESP8266_NONOS_SDK_V2.0.0_16_07_19.zip
|
||||||
- unzip tools/ESP8266_NONOS_SDK_V2.0.0_16_07_19.zip
|
- unzip tools/ESP8266_NONOS_SDK_V2.0.0_16_07_19.zip
|
||||||
script:
|
script:
|
||||||
- ls
|
- ls
|
||||||
- cp include/user_config.sample.h include/user_config.local.h
|
- cp include/user_config.sample.h include/user_config.local.h
|
||||||
- make all SDK_BASE="$PWD/ESP8266_NONOS_SDK" ESPTOOL="$PWD/esptool/esptool.py"
|
- make
|
||||||
- cd firmware/
|
- cd firmware/
|
||||||
- file_name="esp_mqtt_v${TRAVIS_TAG}.${TRAVIS_BUILD_NUMBER}.bin"
|
- file_name="esp_mqtt_v${TRAVIS_TAG}.${TRAVIS_BUILD_NUMBER}.bin"
|
||||||
- srec_cat -output ${file_name} -binary 0x00000.bin -binary -fill 0xff 0x00000 0x10000 0x10000.bin -binary -offset 0x10000
|
- srec_cat -output ${file_name} -binary 0x00000.bin -binary -fill 0xff 0x00000 0x10000 0x10000.bin -binary -offset 0x10000
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
The MIT License
|
The MIT License
|
||||||
|
|
||||||
Copyright (c) 2010-2016 Google, Inc. http://angularjs.org
|
Copyright (c) 2010-2016 Tuan PM - https://twitter.com/tuanpmt
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
Ładowanie…
Reference in New Issue