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")
|
||||
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'
|
||||
)
|
||||
|
||||
@@ -66,11 +66,6 @@
|
||||
"type": "uploader",
|
||||
"version": "~1.20600.0"
|
||||
},
|
||||
"tool-espotapy": {
|
||||
"type": "uploader",
|
||||
"optional": true,
|
||||
"version": "~1.1.0"
|
||||
},
|
||||
"tool-openocd-esp32": {
|
||||
"type": "debugger",
|
||||
"optional": true,
|
||||
|
||||
Reference in New Issue
Block a user