You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a MakeCode program running on a CPX advertises as a USB composite device with HID and WebUSB support. The USB VID:PID used is 0x03EB:0x2402, which is the Atmel VID and a sample PID. (See
We're documenting support of WebUSB for CPX, and we also need to support it on Windows 7. Unlike Windows 10, Windows 7 needs user-installed drivers, and we need to put the VID:PID in the .inf driver file.
We'd like to change the VID:PID to an Adafruit number. Our VID is 0x239A. We have several defined PID's already for the CPX: 0x0018 is for the UF2 bootloader, 0x8018 is a CDC PID for use with Arduino, and 0x8019 is used by CircuitPython. We could reuse the UF2 or Arduino one for MakeCode, or we'd be happy to assign a new one. Do you have a preference or a long-term plan for uses these ID's?
We can submit a PR once we decide on the PID. Thanks!
OK, i'd prefer to give y'all a unique PID so you can tell for sure when a makecode-programmed board is attached - if you have a specific one you want, anything > 0x0022 and doesn't start with 0x8nnn is available
The Windows app already has the UF2 VID/PID, so that should work. The only question is if Windows won't get confused about different set of interfaces in bootloader and user mode. It may be enough to just have a different serial number on bootloader and user mode.
Currently a MakeCode program running on a CPX advertises as a USB composite device with HID and WebUSB support. The USB VID:PID used is
0x03EB:0x2402
, which is the Atmel VID and a sample PID. (Seecodal-circuit-playground/target-locked.json
Line 31 in 003dea9
codal-circuit-playground/target.json
Line 13 in 003dea9
We're documenting support of WebUSB for CPX, and we also need to support it on Windows 7. Unlike Windows 10, Windows 7 needs user-installed drivers, and we need to put the VID:PID in the
.inf
driver file.We'd like to change the VID:PID to an Adafruit number. Our VID is
0x239A
. We have several defined PID's already for the CPX:0x0018
is for the UF2 bootloader,0x8018
is a CDC PID for use with Arduino, and0x8019
is used by CircuitPython. We could reuse the UF2 or Arduino one for MakeCode, or we'd be happy to assign a new one. Do you have a preference or a long-term plan for uses these ID's?We can submit a PR once we decide on the PID. Thanks!
Tagging @ladyada who's involved in this as well.
The text was updated successfully, but these errors were encountered: