Commit Graph

2 Commits

Author SHA1 Message Date
Darian Leung ff8b939cbb usb: USB Host stack uses USB PHY driver
This commit updates the USB Host stack to use the USB PHY driver. The
USB PHY and the OTG Controller should now both be setup/deleted using
usb_new_phy() and usb_del_phy() respectively.

- The hcd_install() now expects the USB PHY and OTG Contorller to be
    already setup before it is called
- usb_host_install() now has an option to skip calling usb_del_phy() if
    the user wants to setup their own USB PHY (e.g., in the case of using
    and external PHY).
- CDC-ACM and MSC examples/test updated to use internal PHY

Closes https://github.com/espressif/esp-idf/issues/8061
2022-07-12 08:15:33 +02:00
Tomas Rezucha 52b2f0b137 usb: Add USB host CDC-ACM class driver 2022-07-12 08:15:33 +02:00