I'd like to use zero PID for my USB device but I'm currently unable to do it as it's forbidden by the following code: https://github.com/stm32duino/Arduino_Core_STM32/blob/08ab4549b71076c8fc80ee0b1d0e557f099e6e55/cores/arduino/stm32/usb/usbd_desc.c#L45-L47 According to https://stackoverflow.com/questions/30098394/is-pid-0-a-valid-for-usb-device, PID == 0x0000 is a valid PID, and the accepted answer there contains a [link to a list of existing USB products](http://www.linux-usb.org/usb.ids), some of which have zero PID.
Activity
feat(usb): allow USB PID to be 0x0000
feat(usb): allow USB PID to be 0x0000
feat(usb): allow USB PID to be 0x0000