From c153239682860c1338e8a28ac5761f1798a5f4b3 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Wed, 28 Sep 2022 16:24:00 +0200 Subject: 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. --- compileopts/target.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compileopts/target.go') 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"` -- cgit v1.2.3