diff options
author | Ayke van Laethem <[email protected]> | 2022-09-28 16:24:00 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-10-16 10:02:48 +0200 |
commit | c153239682860c1338e8a28ac5761f1798a5f4b3 (patch) | |
tree | ba6acb3619c2958816d80949d9303a361118dd07 /compileopts | |
parent | 8e88f3e76a9c4bcb711773825908c61d889d245c (diff) | |
download | tinygo-c153239682860c1338e8a28ac5761f1798a5f4b3.tar.gz tinygo-c153239682860c1338e8a28ac5761f1798a5f4b3.zip |
targets: remove "acm:"` prefix for USB vid/pid pair
This prefix isn't actually used and only adds noise, so remove it.
It may have been useful on Linux that makes a distinction between
/dev/ttyACM* and /dev/ttyUSB* but it isn't now. Also, it's unlikely that
the same vid/pid pair will be shared between an acm and usb driver
anyway.
Diffstat (limited to 'compileopts')
-rw-r--r-- | compileopts/target.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compileopts/target.go b/compileopts/target.go index 865b8afeb..1b5578eaf 100644 --- a/compileopts/target.go +++ b/compileopts/target.go @@ -47,7 +47,7 @@ type TargetSpec struct { FlashCommand string `json:"flash-command"` GDB []string `json:"gdb"` PortReset string `json:"flash-1200-bps-reset"` - SerialPort []string `json:"serial-port"` // serial port IDs in the form "acm:vid:pid" or "usb:vid:pid" + SerialPort []string `json:"serial-port"` // serial port IDs in the form "vid:pid" FlashMethod string `json:"flash-method"` FlashVolume string `json:"msd-volume-name"` FlashFilename string `json:"msd-firmware-name"` |