New CDC Driver required for Windows 7 due to changed VID_2341 & PID_025E
MicroPython v1.19 on 2022-06-16; Arduino Nano RP2040 Connect with RP2040 Port:
Due to to changed VID_2341 & PID_025E, Windows 7 users will need a new driver *.inf file for the deploying the CDC. No auto recognition for this on W7. Manual install is required.
Just for those still running Windows 7. For more recent version, this might not be an issue.
AZ-Delivery gave a solution here: https://drive.google.com/drive/folders/15ub65XQQIVnaFDG6s73oI3qR4ZOZhQu6?usp=sharing
I modified the downloaded *.inf file and with brute force replaced of all occurences of VID and PID numbers in the text (see title for new VID/PID).
This file itself is a bit of a mess, so i don't relicate it here.
This is probalby not the neatest solution, but it worked for me on a W7-64bit system.
Maybe somebody comes up with a clean implementation?
Greetings Wolf
Auto-generate the stmhal/pybcdc_inf header file from static files
The USB VID&PID are automatically extracted from usbd_desc_cdc_msc.c
and inserted into pybcdc_inf.template, ensuring that the same USB
IDs get used everywhere
As discussed here