Skip to content

USB vid and pid missing from many boards.txt entries #9690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
egnor opened this issue May 27, 2024 · 3 comments
Closed
1 task done

USB vid and pid missing from many boards.txt entries #9690

egnor opened this issue May 27, 2024 · 3 comments
Labels
Status: Awaiting triage Issue is waiting for triage

Comments

@egnor
Copy link
Contributor

egnor commented May 27, 2024

Board

Many many boards

Device Description

(not relevant)

Hardware Configuration

(not relevant)

Version

latest master (checkout manually)

IDE Name

Arduino IDE, arduino-cli, anything else that uses boards.txt

Operating System

Any OS

Flash frequency

Any frequency

PSRAM enabled

yes

Upload speed

Any speed

Description

In the arduino-esp32 boards.txt file, many boards that have integrated USB don't have their vid/pid listed, meaning they can't be autodetected by the IDE (or other tools) and the user has to guess which "COM" port might be the board. Maybe there's some reluctance to list generic vid/pid of onboard serial converters, but I think even that is helpful.

The board I happen to have in front of me is the adafruit_feather_esp32_v2, but the list of boards that absolutely definitely have USB ports on them but no vid/pid listed is very very long.

If it's worth actually tracking down and fixing this (they're not missing for a reason) then we can try to fix at least the more popular ones?

Sketch

(not relevant)

Debug Message

(not relevant)

Other Steps to Reproduce

arduino-cli core install esp32:esp32
arduino-cli board list  # with one of the affected boards connected

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

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@egnor egnor added the Status: Awaiting triage Issue is waiting for triage label May 27, 2024
@me-no-dev
Copy link
Member

be default those boards use the integrated USB CDC/JTAG that actually have hardcoded in hardware VID/PID and is all the same (and not changeable). So it does not make sense to add VID and PID to those. Some boards opt to use TinyUSB instead and they define their VID/PID

@egnor
Copy link
Contributor Author

egnor commented May 27, 2024

Bah. I guess it's considered poor form to associate a "generic" vid/pid with a board, since it results in a bad experience in the Arduino IDE.

@egnor
Copy link
Contributor Author

egnor commented May 28, 2024

Closing this out, pending some clarification from our overlords

@egnor egnor closed this as completed May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting triage Issue is waiting for triage
Projects
None yet
Development

No branches or pull requests

2 participants