From 1cb24226355d7865646f5268a51a3e1c6ab07cfa Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 14 May 2019 00:23:48 +0300 Subject: [PATCH] Switch to "espota" script from Arduino core --- builder/main.py | 3 ++- platform.json | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/builder/main.py b/builder/main.py index b12cd9b..85f60cc 100644 --- a/builder/main.py +++ b/builder/main.py @@ -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' ) diff --git a/platform.json b/platform.json index 6be492c..29ebc37 100644 --- a/platform.json +++ b/platform.json @@ -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,