OTA Images: Use esptool.py elf2image --version=2 instead of requiring esptool2

This commit is contained in:
Angus Gratton 2016-03-23 11:12:20 +11:00
parent b9f8e8a648
commit f38bb74593
3 changed files with 8 additions and 39 deletions

View file

@ -1,15 +0,0 @@
#!/bin/bash
set -uv
# Called by Travis to install esptool2 to generate OTA-compatible build
# images
if test -f ${ESPTOOL2_DIR}/esptool2; then
echo "Using cached esptool2"
exit 0
fi
git clone https://github.com/raburton/esptool2 ${ESPTOOL2_DIR}
cd ${ESPTOOL2_DIR}
git reset --hard ${ESPTOOL2_COMMIT}
make