esp-idf/components/usb
Darian Leung 1af36a5b9d usb: Change API and refactor tests
This commit updates the USB Host Library API in the following wasy:
- usb_host_client_handle_t and usb_device_handle_t made into struct pointers
  to generate compiler warnings about conflicting handle types
- usb_host_client_config_t changed to future proof API for Synchronous Clients
- Added usb_host_lib_unblock()
- Added usb_host_device_addr_list_fill()
- Return of usb_host_device_free_all() updated to indicate whether there
  are still devices yet to be freed.
- Blockg APIs are now marked explicitly
- Fixed a bug in usb_host_transfer_submit_control() when checking the bEndpointAddress
  of a control transfer.

Tests are also refactored to move some common macros into shared headers

Closes https://github.com/espressif/esp-idf/issues/7786
2021-11-11 16:26:56 +08:00
..
include usb: Change API and refactor tests 2021-11-11 16:26:56 +08:00
private_include usb: Change API and refactor tests 2021-11-11 16:26:56 +08:00
test usb: Change API and refactor tests 2021-11-11 16:26:56 +08:00
CMakeLists.txt usb: Add usb_phy driver to support operations on USB PHY 2021-09-13 12:39:56 +08:00
Kconfig Add USB Host Library 2021-08-24 23:28:00 +08:00
hcd.c usb: Fix how the HCD handles sudden disconnection 2021-11-11 16:25:01 +08:00
hub.c Add USB Host Library 2021-08-24 23:28:00 +08:00
maintainers.md usb: Fix how the HCD handles sudden disconnection 2021-11-11 16:25:01 +08:00
usb_helpers.c Add USB Host Library API docs 2021-09-02 18:40:24 +08:00
usb_host.c usb: Change API and refactor tests 2021-11-11 16:26:56 +08:00
usb_phy.c usb: Add usb_phy driver to support operations on USB PHY 2021-09-13 12:39:56 +08:00
usb_private.c Add USB Host Library 2021-08-24 23:28:00 +08:00
usbh.c usb: Change API and refactor tests 2021-11-11 16:26:56 +08:00