Skip to content

Commit 1e57e44

Browse files
committed
adapt platform.txt for new espota.py
1 parent b77b109 commit 1e57e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hardware/esp8266com/esp8266/platform.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ tools.esptool.upload.protocol=esp
9393
tools.esptool.upload.params.verbose=-vv
9494
tools.esptool.upload.params.quiet=
9595
tools.esptool.upload.pattern="{path}/{cmd}" {upload.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp "{serial.port}" -ca 0x00000 -cf "{build.path}/{build.project_name}.bin"
96-
tools.esptool.network.pattern=python "{path}/espota.py" "{serial.port}" "{network.port}" "{build.path}/{build.project_name}.bin"
96+
tools.esptool.network.pattern=python "{path}/espota.py" -i "{serial.port}" -p "{network.port}" -f "{build.path}/{build.project_name}.bin"
9797

9898
tools.espota.cmd=python
9999
tools.espota.cmd.windows=python.exe
@@ -102,4 +102,4 @@ tools.espota.path={runtime.platform.path}/tools
102102
tools.espota.upload.protocol=espota
103103
tools.espota.upload.params.verbose=
104104
tools.espota.upload.params.quiet=
105-
tools.espota.upload.pattern="{cmd}" "{path}/espota.py" "{serial.port}" 8266 "{build.path}/{build.project_name}.bin"
105+
tools.espota.upload.pattern="{cmd}" "{path}/espota.py" -i "{serial.port}" -p 8266 -f "{build.path}/{build.project_name}.bin"

0 commit comments

Comments
 (0)