add webusb support

This commit is contained in:
sakimisu
2023-01-29 16:15:28 +08:00
parent 68c9779898
commit 201b3ebb2c
4 changed files with 91 additions and 0 deletions

View File

@@ -607,6 +607,12 @@ struct usb_webusb_url_descriptor {
char URL[];
} __PACKED;
struct usb_webusb_url_ex_descriptor {
uint8_t vendor_code;
uint8_t *string;
uint32_t string_len;
} __PACKED;
struct usb_bos_descriptor {
uint8_t *string;
uint32_t string_len;