How to re-initial USB driver
Posted: Thu Jul 11, 2024 5:39 am
I am using IDF 5.1 version with tinyUBS, which using USB as HID device like keyboard and mouse. and we are using the same USB header
as flash driver . we are using a switch to selected connection of USB between flash or ESP32.
I would like deinit the USB driver when I using flash . but I cannot initial the tinyUSB when I back ESP32 after deinit.
How can I initial tinyUSB driver after deinit ?
as flash driver . we are using a switch to selected connection of USB between flash or ESP32.
I would like deinit the USB driver when I using flash . but I cannot initial the tinyUSB when I back ESP32 after deinit.
How can I initial tinyUSB driver after deinit ?