Skip to content

Commit e7d8b22

Browse files
committed
Switch to "espota" script from Arduino core
1 parent 23542cf commit e7d8b22

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

builder/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ def _update_max_upload_size(env):
303303
"espressif8266.html#over-the-air-ota-update\n")
304304
env.Replace(
305305
UPLOADER=join(
306-
platform.get_package_dir("tool-espotapy") or "", "espota.py"),
306+
platform.get_package_dir("framework-arduinoespressif8266") or "",
307+
"tools", "espota.py"),
307308
UPLOADERFLAGS=["--debug", "--progress", "-i", "$UPLOAD_PORT"],
308309
UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS -f $SOURCE'
309310
)

platform.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@
7171
"type": "uploader",
7272
"version": "~1.20600.0"
7373
},
74-
"tool-espotapy": {
75-
"type": "uploader",
76-
"optional": true,
77-
"version": "~1.1.0"
78-
},
7974
"tool-mkspiffs": {
8075
"type": "uploader",
8176
"optional": true,

0 commit comments

Comments
 (0)