rp2/tusb_port.c: Allow boards to configure USB VID and PID.#7594
rp2/tusb_port.c: Allow boards to configure USB VID and PID.#7594iabdalkader wants to merge 2 commits intomicropython:masterfrom
Conversation
|
All of the Adafruit RP2 boards are configured with VIDs and PIDs. eg. Add them to this PR too? |
|
@mcauser Add them how do you mean ? I only see you have 1 board ADAFRUIT_FEATHER_RP2040 merged and multiple open PRs to add more. I can add USB PID/VID for the ADAFRUIT_FEATHER_RP2040 if you like, then after this is merged you can rebase your PRs. @dpgeorge Can you please review this, it seems it may save extra PRs later if it's merged first. |
|
@iabdalkader Inside each I have a bunch of open PRs for other RP2 boards. |
dc5ecb8 to
eded97f
Compare
|
@mcauser Added VID/PID for ADAFRUIT_FEATHER_RP2040. |
|
Thanks for this, it's a needed improvement. But do you think it makes sense to call the config values So the choice is:
|
@dpgeorge I choose 2 I think we should stop copying this inconsistency from port to port. |
|
@dpgeorge Although I think it should be called |
Does a USB host have a VID/PID? A hub will have a VID/PID but that's because it's a device and a host, and it's the device side that has the VID/PID. Regardless of that, I agree it makes sense to use |
No I don't think so, but macros like |
Ok, yes, let's leave it as |
|
See follow up #7603. |
Custom board build
No description provided.