Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/finger563/esp-usb-hid-vcp-example
Example for ESP32s3 acting as both a USB HID and USB VCP
https://github.com/finger563/esp-usb-hid-vcp-example
Last synced: 13 days ago
JSON representation
Example for ESP32s3 acting as both a USB HID and USB VCP
- Host: GitHub
- URL: https://github.com/finger563/esp-usb-hid-vcp-example
- Owner: finger563
- License: mit
- Created: 2023-11-08T17:51:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-13T15:32:36.000Z (about 1 year ago)
- Last Synced: 2024-10-26T03:32:10.718Z (about 2 months ago)
- Language: C++
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32s3 USB HID & VCP Example
This is an example project for the ESP32s3 that uses the USB peripheral to
implement both a USB HID device and a USB VCP device.![CleanShot 2023-11-09 at 14 43 03](https://github.com/finger563/esp-usb-hid-vcp-example/assets/213467/82710d71-57eb-43fc-a1c0-4e3a5b5f189e)
![CleanShot 2023-11-09 at 16 10 48](https://github.com/finger563/esp-usb-hid-vcp-example/assets/213467/fba5b18a-72b3-4946-9d91-b09e3c440293)
## Cloning
Since this repo contains a submodule, you need to make sure you clone it
recursively, e.g. with:``` sh
git clone --recurse-submodules [email protected]:finger563/esp-usb-hid-vcp-example
```Alternatively, you can always ensure the submodules are up to date after cloning
(or if you forgot to clone recursively) by running:``` sh
git submodule update --init --recursive
```## Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output:
```
idf.py -p PORT flash monitor
```(Replace PORT with the name of the serial port to use.)
(To exit the serial monitor, type ``Ctrl-]``.)
See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.
## Output
![CleanShot 2023-11-09 at 14 43 03](https://github.com/finger563/esp-usb-hid-vcp-example/assets/213467/82710d71-57eb-43fc-a1c0-4e3a5b5f189e)