Skip to content

Commit

Permalink
Add CMSIS-DAP to the product string so OpenOCD udev rules are applied
Browse files Browse the repository at this point in the history
Allows plugdev users to access picoprobe.

Signed-off-by: Jonathan Bell <[email protected]>
  • Loading branch information
P33M committed Aug 25, 2022
1 parent 8737a06 commit f4fe468
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/usb_descriptors.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit f4fe468

Please sign in to comment.