Page 1 of 1

How to implement safety remove usb on device.

Posted: Thu Jul 11, 2024 7:53 am
by kwaingwu
I trying to using esp32s3 to implement a multiple role USB device which are HID keyboard / mouse And flash drive.
I am using a switch to select the USB connector usage for HID by esp32 or usage as flash driver.

after a few time switching PC cannot identify my HID device. can I do something like "safety remove " on my salve side?

I am using IDF 5.1 and tinyUSB driver.