add Pico 2 W firmware

This commit is contained in:
2025-08-18 08:09:28 -04:00
parent cf17420973
commit 84aa9a2e74
4 changed files with 23 additions and 15 deletions
+3 -1
View File
@@ -86,7 +86,7 @@ uint8_t const desc_fs_configuration[] =
// Interface number, string index, protocol, report descriptor len, EP In address, size & polling interval
TUD_CDC_DESCRIPTOR(ITF_NUM_CDC, 4, EPNUM_CDC_NOTIF, 8, EPNUM_CDC_OUT, EPNUM_CDC_IN, 64),
TUD_HID_DESCRIPTOR(ITF_NUM_HID, 5, HID_ITF_PROTOCOL_NONE, sizeof(desc_hid_report), EPNUM_HID, CFG_TUD_HID_EP_BUFSIZE, 5),
TUD_HID_DESCRIPTOR(ITF_NUM_HID, 5, HID_ITF_PROTOCOL_NONE, sizeof(desc_hid_report), EPNUM_HID, CFG_TUD_HID_EP_BUFSIZE, 8),
};
// Invoked when received GET CONFIGURATION DESCRIPTOR
@@ -110,6 +110,8 @@ char const* string_desc_arr [] =
"Raspberry Pi", // 1: Manufacturer
"Pico Web Keyboard", // 2: Product
NULL, // 3: Serials, should use chip ID
"Pico Web Keyboard CDC", // 4: CDC
"Pico Web Keyboard HID", // 5: HID
};
static uint16_t _desc_str[32+1];