From f4fe468c85189e34d751c7ca7ba3ad4da41970c3 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Thu, 25 Aug 2022 15:57:31 +0100 Subject: [PATCH] Add CMSIS-DAP to the product string so OpenOCD udev rules are applied Allows plugdev users to access picoprobe. Signed-off-by: Jonathan Bell --- src/usb_descriptors.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/usb_descriptors.c b/src/usb_descriptors.c index 49a783e..29b8bd5 100644 --- a/src/usb_descriptors.c +++ b/src/usb_descriptors.c @@ -137,11 +137,11 @@ char const* string_desc_arr [] = { (const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409) "Raspberry Pi", // 1: Manufacturer - "Picoprobe", // 2: Product + "Picoprobe CMSIS-DAP", // 2: Product usb_serial, // 3: Serial, uses flash unique ID - "Picoprobe CMSIS-DAP v1", // Interface descriptor for HID transport - "Picoprobe CMSIS-DAP v2", // Interface descriptor for Bulk transport - "Picoprobe CDC-ACM UART", // Interface descriptor for CDC + "Picoprobe CMSIS-DAP v1", // 4: Interface descriptor for HID transport + "Picoprobe CMSIS-DAP v2", // 5: Interface descriptor for Bulk transport + "Picoprobe CDC-ACM UART", // 6: Interface descriptor for CDC }; static uint16_t _desc_str[32];