Added proper USB VID/PID

Kindly assigned by the Raspberry Pi foundation, the project got its own
VID/PID so removing the current "test" one and adding this one. No other
changes.
This commit is contained in:
Hrvoje Cavrak 2024-01-13 22:22:32 +01:00
parent c9a3bc44b3
commit 2711b911ee
3 changed files with 4 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -38,8 +38,9 @@ tusb_desc_device_t const desc_device = {.bLength = sizeof(tusb_desc_device_t),
.bDeviceProtocol = 0x00, .bDeviceProtocol = 0x00,
.bMaxPacketSize0 = CFG_TUD_ENDPOINT0_SIZE, .bMaxPacketSize0 = CFG_TUD_ENDPOINT0_SIZE,
.idVendor = 0x1209, // https://github.com/raspberrypi/usb-pid
.idProduct = 0x0007, // Project will apply for its own PID .idVendor = 0x2E8A,
.idProduct = 0x107C,
.bcdDevice = 0x0100, .bcdDevice = 0x0100,
.iManufacturer = 0x01, .iManufacturer = 0x01,
@ -194,7 +195,7 @@ char const* string_desc_arr[] = {
(const char[]){0x09, 0x04}, // 0: is supported language is English (0x0409) (const char[]){0x09, 0x04}, // 0: is supported language is English (0x0409)
"Hrvoje Cavrak", // 1: Manufacturer "Hrvoje Cavrak", // 1: Manufacturer
"DeskHop Switch", // 2: Product "DeskHop Switch", // 2: Product
"31415926535", // 3: Serials, should use chip ID "0", // 3: Serials, should use chip ID
}; };
static uint16_t _desc_str[32]; static uint16_t _desc_str[32];