Switch to "espota" script from Arduino core

This commit is contained in:
Ivan Kravets
2019-05-14 00:23:48 +03:00
parent d6981a0e98
commit 1cb2422635
2 changed files with 2 additions and 6 deletions
+2 -1
View File
@@ -274,7 +274,8 @@ if upload_protocol == "espota":
"espressif32.html#over-the-air-ota-update\n")
env.Replace(
UPLOADER=join(
platform.get_package_dir("tool-espotapy") or "", "espota.py"),
platform.get_package_dir("framework-arduinoespressif32") or "",
"tools", "espota.py"),
UPLOADERFLAGS=["--debug", "--progress", "-i", "$UPLOAD_PORT"],
UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS -f $SOURCE'
)