Hello,
there is an example for USB CDC for the ESP32-S2. For a new project, we need to implement USB HID (Generic, Device Mode).
I've seen an example for HID in the tinyusb github but I'm not able to get it working on the ESP32-S2. Will there be an example for USB HID for the ESP32-S2?
Thanks,
Rico
USB HID for ESP32-S2
Re: USB HID for ESP32-S2
Here you have few example HID reports you can use just like in example:
https://github.com/hathach/tinyusb/blob ... #L116-L304
If you dont find report map that suits you then you can try to build your own or wait when espressif will finish common HID API for ble and USB.
https://github.com/hathach/tinyusb/blob ... #L116-L304
If you dont find report map that suits you then you can try to build your own or wait when espressif will finish common HID API for ble and USB.
Re: USB HID for ESP32-S2
Hello,
there is still no support for USB-HID in the esp-idf, will this ever be added?
Does anyone know a working example project for USB-HID for esp-idf (not arduino)? I tried to just compile an example from the tinyusb component itself, but this does not work...
Thanks for any help!
there is still no support for USB-HID in the esp-idf, will this ever be added?
Does anyone know a working example project for USB-HID for esp-idf (not arduino)? I tried to just compile an example from the tinyusb component itself, but this does not work...
Thanks for any help!
Re: USB HID for ESP32-S2
Hi, the USB HID and MSC components for ESP-IDF can be found at https://github.com/iot-components/tinyusb.
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: USB HID for ESP32-S2
Note that this is not an official Espressif repository. Espressif stuff will be under the Espressif namespace, that is, the URL starts with https://github.com/espressif/ .hhuysqt wrote: ↑Mon Nov 22, 2021 8:42 amHi, the USB HID and MSC components for ESP-IDF can be found at https://github.com/iot-components/tinyusb.
Who is online
Users browsing this forum: Bing [Bot] and 434 guests