develop
Tuan PM 2016-09-09 22:58:05 +07:00
rodzic 3f55b6ce7b
commit 676513735a
2 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -7,13 +7,16 @@ install:
- 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
- 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
- unzip tools/ESP8266_NONOS_SDK_V2.0.0_16_07_19.zip
script:
- ls
- 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/
- 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

Wyświetl plik

@ -1,6 +1,6 @@
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
of this software and associated documentation files (the "Software"), to deal