Skip to content

Commit f1388de

Browse files
committed
Merge branch 'release/v1.2.0'
2 parents b890894 + 3a9dcee commit f1388de

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

builder/main.py

Lines changed: 3 additions & 2 deletions
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",
@@ -352,8 +353,8 @@ def __tmp_hook_before_pio_3_2():
352353
target_firm = env.ElfToBin(
353354
join("$BUILD_DIR", "firmware"), target_elf)
354355

355-
target_buildprog = env.Alias("buildprog", target_firm)
356356
AlwaysBuild(env.Alias("nobuild", target_firm))
357+
target_buildprog = env.Alias("buildprog", target_firm, target_firm)
357358

358359
#
359360
# Target: Print binary size

platform.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"type": "git",
1414
"url": "https://github.com/platformio/platform-espressif8266.git"
1515
},
16-
"version": "1.1.3",
16+
"version": "1.2.0",
1717
"packageRepositories": [
1818
"https://dl.bintray.com/platformio/dl-packages/manifest.json",
1919
"https://sourceforge.net/projects/platformio-storage/files/packages/manifest.json/download",
@@ -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)