diff options
author | Varun Mehta <varun@mehtasw.com> | 2017-06-14 23:36:44 -0500 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2017-07-25 14:13:13 +0200 |
commit | 4866d9bef86123881bc5c70434c702fc7f747438 (patch) | |
tree | 196a499d77ffdbd0d761b446036df4015409b5c5 /cores/arduino/Stream.cpp | |
parent | 44ce914c8ce06332380fd066aaa1725c48598ac5 (diff) |
Fixed Serial Port Argument That May Include Spaces
Other paths in avrdude.upload.pattern are wrapped in double quotes, and
this -P{serial.port} causes issues with some platforms. This allows
serial port devices which include spaces and other characters. Without
this fix a /dev/tty* or /dev/cu* device that includes a space in its
name gets truncated when passed to avrdude. Error messages returned
from avrdude are cryptic, and workarounds (symlinks) are prone to
failure.
Fixes #3693
Diffstat (limited to 'cores/arduino/Stream.cpp')
0 files changed, 0 insertions, 0 deletions