USB: use pid.codes USB PID codes for CuVoodoo board

This commit is contained in:
King Kévin 2018-04-03 17:08:34 +02:00
parent 4470ba7de2
commit 96f3458317
2 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ static const struct usb_device_descriptor usb_cdcacm_device_descriptor = {
.bDeviceProtocol = 0, /**< unused */
.bMaxPacketSize0 = 64, /**< packet size for endpoint zero in bytes */
.idVendor = 0x1209, /**< pid.codes vendor ID */
.idProduct = 0x4256, /**< BusVoodo product ID within the Vendor ID space */
.idProduct = 0x4356, /**< CuVoodoo product ID within the Vendor ID space */
.bcdDevice = 0x0000, /**< Device Release Number: board version number */
.iManufacturer = 1, /**< the index of the string in the string table that represents the name of the manufacturer of this device */
.iProduct = 2, /**< the index of the string in the string table that represents the name of the product */
@ -239,7 +239,7 @@ static const struct usb_config_descriptor usb_cdcacm_configuration_descriptor =
*/
static const char *usb_strings[] = {
"CuVoodoo", /**< manufacturer string */
"BusVoodoo multi-protocol debugging adapter", /**< product string */
"CuVoodoo STM32F1xx firmware", /**< product string */
"DFU bootloader (runtime mode)", /**< DFU interface string */
};

View File

@ -56,7 +56,7 @@ static const struct usb_device_descriptor usb_dfu_device = {
.bDeviceProtocol = 0, /**< unused */
.bMaxPacketSize0 = 64, /**< packet size for endpoint zero in bytes */
.idVendor = 0x1209, /**< pid.codes vendor ID */
.idProduct = 0x4256, /**< BusVoodo product ID within the Vendor ID space */
.idProduct = 0x4356, /**< CuVoodo product ID within the Vendor ID space */
.bcdDevice = 0x0000, /**< Device Release Number: board version number */
.iManufacturer = 1, /**< the index of the string in the string table that represents the name of the manufacturer of this device */
.iProduct = 2, /**< the index of the string in the string table that represents the name of the product */
@ -120,7 +120,7 @@ static const struct usb_config_descriptor usb_dfu_configuration = {
*/
static const char *usb_dfu_strings[] = {
"CuVoodoo", /**< manufacturer string */
"BusVoodoo multi-protocol debugging adapter ", /**< product string */
"CuVoodoo STM32F1xx DFU bootloader", /**< product string */
"DFU bootloader (DFU mode)", /**< DFU interface string */
};