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.
This commit is contained in:
Ayke van Laethem
2022-09-28 16:24:00 +02:00
committed by Ron Evans
parent 8e88f3e76a
commit c153239682
46 changed files with 47 additions and 51 deletions
+1 -1
View File
@@ -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"`