Change USB Product ID to F004 for the debug compilation (program in RAM)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-04-28 10:14:30 +02:00
parent f3e7eb1a94
commit 07e8a92a3b
1 changed files with 4 additions and 0 deletions

View File

@ -41,7 +41,11 @@ tusb_desc_device_t const desc_device =
.bMaxPacketSize0 = CFG_TUD_ENDPOINT0_SIZE, .bMaxPacketSize0 = CFG_TUD_ENDPOINT0_SIZE,
.idVendor = 0x2E8A, // Pi .idVendor = 0x2E8A, // Pi
#if PICO_NO_FLASH
.idProduct = 0xF004, // Picoprobe - debug
#else
.idProduct = 0x0004, // Picoprobe .idProduct = 0x0004, // Picoprobe
#endif
.bcdDevice = 0x0100, // Version 01.00 .bcdDevice = 0x0100, // Version 01.00
.iManufacturer = 0x01, .iManufacturer = 0x01,
.iProduct = 0x02, .iProduct = 0x02,