Skip to content

Commit 96c479c

Browse files
committed
Move ESPOTA to separate package
1 parent 1331e8a commit 96c479c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

builder/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def _get_board_f_flash(env):
115115
#
116116

117117
UPLOADER="esptool",
118-
UPLOADEROTA=join("$FRAMEWORK_ARDUINOESP8266_DIR", "tools", "espota.py"),
118+
UPLOADEROTA=join(platform.get_package_dir("tool-espotapy") or "",
119+
"espota.py"),
119120

120121
UPLOADERFLAGS=[
121122
"-cd", "$UPLOAD_RESETMETHOD",

platform.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
"type": "uploader",
5050
"version": "~1.409.0"
5151
},
52+
"tool-espotapy": {
53+
"type": "uploader",
54+
"version": "~1.0.0"
55+
},
5256
"tool-mkspiffs": {
5357
"type": "uploader",
5458
"optional": true,

0 commit comments

Comments
 (0)