usbd: Add USB Gadget UMS driver

This commit is contained in:
CTCaer 2020-04-30 14:14:58 +03:00
parent 4f75cd62e5
commit c9a7659d93
2 changed files with 1872 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -77,6 +77,7 @@ int usb_device_write_ep1_in(u8 *buf, u32 len, u32 *bytes_written, bool sync);
int usb_device_ep1_in_writing_finish(u32 *pending_bytes);
bool usb_device_get_suspended();
int usb_device_gadget_ums(usb_ctxt_t *usbs);
bool usb_device_get_max_lun(u8 max_lun);
bool usb_device_get_hid_report();
u32 usb_device_get_port_status();