Skip to content

Commit e3191f5

Browse files
Earle F. Philhower, IIIEarle F. Philhower, III
Earle F. Philhower, III
authored and
Earle F. Philhower, III
committed
Initial esptool.py upload test
1 parent d4707b7 commit e3191f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ tools.esptool.network_cmd.windows=python.exe
137137
tools.esptool.upload.protocol=esp
138138
tools.esptool.upload.params.verbose=-vv
139139
tools.esptool.upload.params.quiet=
140-
tools.esptool.upload.pattern="{path}/{cmd}" {upload.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp "{serial.port}" {upload.erase_cmd} -ca 0x00000 -cf "{build.path}/{build.project_name}.bin"
140+
#tools.esptool.upload.pattern="{path}/{cmd}" {upload.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp "{serial.port}" {upload.erase_cmd} -ca 0x00000 -cf "{build.path}/{build.project_name}.bin"
141+
tools.esptool.upload.pattern="python" "{runtime.tools.esptool.path}" -c "import sys; sys.path.append('{runtime.tools.pyserial.path}'); execfile('{runtime.tools.esptool.path}/esptool.py')" --chip esp8266 --port "{serial.port}" --baud "{upload.speed}" write_flash 00flash_mode keep --flash_freq keep 0x0 "{build.path}/{build.project_name}.bin}"
141142
tools.esptool.upload.network_pattern="{network_cmd}" "{runtime.platform.path}/tools/espota.py" -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"
142143

143144
tools.mkspiffs.cmd=mkspiffs

0 commit comments

Comments
 (0)