|
|
3 gadi atpakaļ | |
|---|---|---|
| .github | 3 gadi atpakaļ | |
| docs | 3 gadi atpakaļ | |
| examples | 3 gadi atpakaļ | |
| hw | 3 gadi atpakaļ | |
| lib | 3 gadi atpakaļ | |
| rt-thread | 3 gadi atpakaļ | |
| src | 3 gadi atpakaļ | |
| test | 4 gadi atpakaļ | |
| tools | 3 gadi atpakaļ | |
| .gitattributes | 6 gadi atpakaļ | |
| .gitignore | 4 gadi atpakaļ | |
| .readthedocs.yaml | 4 gadi atpakaļ | |
| CODE_OF_CONDUCT.rst | 4 gadi atpakaļ | |
| CONTRIBUTORS.rst | 4 gadi atpakaļ | |
| LICENSE | 7 gadi atpakaļ | |
| README.md | 3 gadi atpakaļ | |
| README.rst | 3 gadi atpakaļ | |
| SConscript | 4 gadi atpakaļ | |
| pkg.yml | 5 gadi atpakaļ | |
| repository.yml | 4 gadi atpakaļ | |
| version.yml | 7 gadi atpakaļ |
TinyUSB is an open-source cross-platform USB Host/Device stack for embedded system, designed to be memory-safe with no dynamic allocation and thread-safe with all interrupt events are deferred then handled in the non-ISR task function.
Please take a look at the online documentation.
.
├── docs # Documentation
├── examples # Sample with Makefile build support
├── hw
│ ├── bsp # Supported boards source files
│ └── mcu # Low level mcu core & peripheral drivers
├── lib # Sources from 3rd party such as freeRTOS, fatfs ...
├── src # All sources files for TinyUSB stack itself.
├── test # Unit tests for the stack
└── tools # Files used internally
The stack supports the following MCUs:
Here is the list of Supported Devices that can be used with provided examples.
Supports multiple device configurations by dynamically changing USB descriptors, low power functions such like suspend, resume, and remote wakeup. The following device classes are supported:
If you have a special requirement, usbd_app_driver_get_cb() can be used to write
your own class driver without modifying the stack. Here is how the RPi
team added their reset interface
raspberrypi/pico-sdk#197
TinyUSB is completely thread-safe by pushing all Interrupt Service Request (ISR) events into a central queue, then processing them later in the non-ISR context task function. It also uses semaphore/mutex to access shared resources such as Communication Device Class (CDC) FIFO. Therefore the stack needs to use some of the OS's basic APIs. Following OSes are already supported out of the box.
All TinyUSB sources in the src folder are licensed under MIT license,
the Full license is here. However, each file can be
individually licensed especially those in lib and hw/mcu folder.
Please make sure you understand all the license term for files you use
in your project.