This is the component and examples repository for the CherryUSB, which is a tiny and portable USB Stack (device & host) for embedded system with USB IP.
This repository is wrapped as an ESP-IDF component and finally published to Component Registry.
You can build the examples in this repository with ESP-IDF v4.4.1 or later directly. Or using the ESP-IDF component manager.
Just add idf_component.yml
to your main component with the following content::
Yaml
## IDF Component Manager Manifest File
dependencies:
udoudou/esp_cherryusb: "*"
Or simply run:
Plaintext
idf.py add-dependency "udoudou/esp_cherryusb"
During the build process, the ESP-IDF build system will automatically download and install this component.
Please use the component manager command create-project-from-example
to create the project from example template
Plaintext
idf.py create-project-from-example "udoudou/esp_cherryusb=*:cherryusb_device_cdc"
Please create a components
folder in the project root directory and pull the repository in the components directory.
Plaintext
git clone --recursive https://github.com/udoudou/esp_cherryusb.git
Please refer to the examples/README.md
13e21dbb7b2637e51fe9cc656cebd4defd7cb12d
idf.py add-dependency "udoudou/esp_cherryusb^0.0.2"