espressif / esp-usb

Other
15 stars 9 forks source link

feature(esp_tinyusb): Added tusb_teardown() call while tinyusb_driver_uninstall() #39

Open roma-jam opened 3 weeks ago

roma-jam commented 3 weeks ago

esp_tinyusb (Not a Release)

Requirements

Description

Changes

Notes

  1. Test case only covers the enumeration and configuration for a class. There is no communication in between tinyusb driver tinyusb_driver_install() and tinyusb_driver_uninstall() calls.

Resolve https://github.com/espressif/esp-idf/issues/13788

roma-jam commented 3 weeks ago

@tore-espressif , @peter-marcisovsky This changes unlock the possibility to run usb device tests one by one (https://github.com/espressif/tinyusb/pull/27 should be merged first, though).

I posted two questions for both of you, because it seems that we can make it better and we can use it.

I need that for enumeration driver testing (but maybe I will eliminate esp_tinyusb component from the chain, but anyway), so feel free to check it out when possible.

Meanwhile, I will go and cover the Enum Driver as much as I can.