Tomas Rezucha
cda5672db0
fix(usb): USB security fixes from esp-usb
...
Combination of the following commits:
- https://github.com/espressif/esp-usb/commit/c546816048e449f11c57ca9a1e0541e592d04c07
- https://github.com/espressif/esp-usb/commit/749af3b938aeb95e1c5b4926f2e28eb2fe65f381
- https://github.com/espressif/esp-usb/commit/234ed4e9d404590011ef61826220f403fc52bb54
- https://github.com/espressif/esp-usb/commit/8f7fe7308d39ec69d3d8822691d74f43e71da331
2026-03-27 13:49:16 +01:00
Peter Marcisovsky
d071bb4c56
feat(usb_host): Create USB Host mock for CMock host tests
2024-09-18 15:04:03 +02:00
Tomas Rezucha
c2660ce7c6
fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
...
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2023-12-12 21:10:37 +01:00
Darian Leung
cbed197e10
usb_host: Run formatting script
2023-05-29 17:30:41 +08:00
Tomas Rezucha
31ff3bc0c2
usb_host: Fix interface descriptor parsing
...
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-10 15:49:11 +01:00
Nicholas Palmer
0f645e59b6
usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000)
2022-05-21 15:54:21 -07:00
Tomas Rezucha
e3ba980d11
usb_host: Use USB_Host library calls for desc printing
2022-03-21 18:34:25 +01:00
Darian Leung
b6dfadb168
usb: Update USB Host Library
...
This commit updates the USB Host Library as follows:
- usb_helpers.h
- Removed dependency on USB Host Library API
- Added function to print string descriptors
- usbh
- Fixed bug where an interface/endpoint could be claimed/allocated multiple times
- Removed redundant device ref_count change
- Added unit test for USB Host Library API usage
2022-01-06 15:14:10 +08:00
Martin Valik
73dce765d5
USB: added MSC Host Driver with VFS support
...
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-20 12:39:45 +01:00
Darian Leung
963836f491
Add USB Host Library API docs
...
- This commit adds the API documentation for the USB Host Library.
- Warnings about the beta API are also added.
- usb_host_misc.h renamed to usb_helpers.h
2021-09-02 18:40:24 +08:00