Skip to content

There are many non-unique VID/PID pairs in boards.txt #9702

Closed
@egnor

Description

@egnor

Board

Many many boards

Device Description

Many many boards

Hardware Configuration

N/A

Version

latest master (checkout manually)

IDE Name

All

Operating System

All

Flash frequency

N/A

PSRAM enabled

yes

Upload speed

N/A

Description

Per the discussion in #9690, and per the "USB VID/PID" section of the Arduino Platform specification,

USB vendor IDs (VID) and product IDs (PID) identify USB devices to the computer. If the board uses a unique VID/PID pair, it may be defined in boards.txt

This suggests that boards.txt should not include VID/PID pairs that are "generic" from a USB/serial converter, or from the fixed VID/PID of a chip's Serial/JTAG unit, or from the default VID/PID of a chip's USB OTG module. Otherwise, many different boards might be confused with each other, and the Arduino IDE tends to pick a random one of those choices, and it's a confusing user experience.

However, many entries in boards.txt currently have nonunique Espressif-generic VID/PID entries, which should probably be removed?

  • 303a:1001 - esp32s3, esp32c3, esp32s3box, esp32s3usbotg, esp32s3camlcd, tinys2, lolin_c3_mini, dfrobot_beetle_esp32c3, adafruit_qtpy_esp32c3, AirM2M_CORE_ESP32C3
  • 303a:0002 - esp32s2, deneyapmini

Sketch

N/A

Debug Message

N/A

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions