kopia lustrzana https://github.com/dl9rdz/rdz_ttgo_sonde
travis testing
rodzic
c357dbd71b
commit
acaf7f6a81
|
@ -2,6 +2,7 @@ language: c
|
|||
env:
|
||||
global:
|
||||
- ESP32TOOLS=/home/travis/.arduino15/packages/esp32/hardware/esp32/1.0.2/tools
|
||||
- MKSPIFFS=/home/travis/.arduino15/packages/esp32/tools/mkspiffs/0.2.3/mkspiffs
|
||||
before_install:
|
||||
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
|
||||
- sleep 3
|
||||
|
@ -27,10 +28,9 @@ install:
|
|||
- ln -s $PWD/libraries/SondeLib /usr/local/share/arduino/libraries/SondeLib
|
||||
- ln -s $PWD/libraries/SX1278FSK /usr/local/share/arduino/libraries/SX1278FSK
|
||||
- arduino --install-library "U8g2"
|
||||
- find /home/travis/.arduino15
|
||||
script:
|
||||
- arduino --board esp32:esp32:ttgo-lora32-v1 --verify $PWD/RX_FSK/RX_FSK.ino --verbose | tail -3 | head -1 | awk '{print $NF}' > $PWD/code.bin
|
||||
- $PWD/scripts/makespiffs $ESP32TOOLS $PWD/RX_FSK/data $PWD/spiffs.bin
|
||||
- $MKSPIFFS -c $PWD/RX_FSK/data -b 4096 -p 256 -s 1503232 $PWD/spiffs.bin
|
||||
- $PWD/scripts/makeimage.py $ESP32TOOLS $PWD/code.bin $PWD/spiffs.bin $PWD/out.bin
|
||||
notifications:
|
||||
email:
|
||||
|
|
Ładowanie…
Reference in New Issue