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") "espressif32.html#over-the-air-ota-update\n")
env.Replace( env.Replace(
UPLOADER=join( 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"], UPLOADERFLAGS=["--debug", "--progress", "-i", "$UPLOAD_PORT"],
UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS -f $SOURCE' UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS -f $SOURCE'
) )
-5
View File
@@ -66,11 +66,6 @@
"type": "uploader", "type": "uploader",
"version": "~1.20600.0" "version": "~1.20600.0"
}, },
"tool-espotapy": {
"type": "uploader",
"optional": true,
"version": "~1.1.0"
},
"tool-openocd-esp32": { "tool-openocd-esp32": {
"type": "debugger", "type": "debugger",
"optional": true, "optional": true,