Skip to content

Commit 5e864f1

Browse files
committed
Update platform.txt
Quoting the serial.port will enable esptool to work for dev/tty devices with spaces in their name. Like in OSX: `/dev/tty.wch ch341 USB=>RS232 fa130`. Without quote the esptool fails silently since it only parses the `/dev/tty.wch`.
1 parent ed76e56 commit 5e864f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/esp8266com/esp8266/platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ tools.esptool.path={runtime.ide.path}/hardware/tools/esp8266
9191
tools.esptool.upload.protocol=esp
9292
tools.esptool.upload.params.verbose=-vv
9393
tools.esptool.upload.params.quiet=
94-
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}_00000.bin" -ca 0x40000 -cf "{build.path}/{build.project_name}_40000.bin"
94+
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}_00000.bin" -ca 0x40000 -cf "{build.path}/{build.project_name}_40000.bin"
9595

0 commit comments

Comments
 (0)