We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00ee257 commit 9c4bd5eCopy full SHA for 9c4bd5e
commands/board/list.go
@@ -119,8 +119,8 @@ func List(instanceID int32) ([]*rpc.DetectedPort, error) {
119
}
120
121
// if installed cores didn't recognize the board, try querying
122
- // the builder API
123
- if len(b) == 0 {
+ // the builder API if the board is a USB device port
+ if len(b) == 0 && port.IdentificationPrefs.ContainsKey("vid") {
124
logrus.Debug("Querying builder API for board identification...")
125
items, err := apiByVidPid(
126
port.IdentificationPrefs.Get("vid"),
0 commit comments