Switch to "espota" script from Arduino core
This commit is contained in:
+2
-1
@@ -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'
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user