|
|
13 سال پیش | |
|---|---|---|
| demos | 13 سال پیش | |
| tests | 13 سال پیش | |
| tinyusb | 13 سال پیش | |
| vendor | 13 سال پیش | |
| .cproject | 13 سال پیش | |
| .project | 13 سال پیش | |
| doxygen.Doxyfile | 13 سال پیش | |
| readme.md | 13 سال پیش |
tinyusb is an open-source (BSD-licensed) USB Host/Device/OTG stack for embedded micro-controller. It is developed using Test-Driven Development approach to eliminate bugs as soon as possible.
More detail on TDD can be found at
tinyusb is designed to be OS-ware and run across OS vendors, thanks to its OS Abstraction Layer (OSAL). However, it can also run without an OS (OSAL will be expanded to be a state machine in this case). Currently the following OS can be run with tinyusb (out of the box).
coming soon ...
tinyusb make use of goodies features of C99, which saves a tons of code lines (also means save a tons of bugs). However, those features can be misused (plus C is a dangerous language by itself) and pave the way for bugs sneaking into. Therefore, to minimize bugs, the author try to comply with published Coding Standards like:
MISRA-C is well respected & a bar for industrial coding standard. Where is possible, MISRA-C is followed but it is almost impossible to follow the standard without the following exceptions:
Although tinyusb is still in early stage of developing, but most of the code can run out of the box with supported boards.
coming soon ...
currently only lpcxpresso/redsuite is supported. However Keil & IAR are always on top of the list.
this code base can run out of the box with the following boards
If you find my little USB stack is useful, please take some time to file any issues that you encountered. It is not necessary to be a software bug, it can be a question, request, suggestion etc. We can consider each github's issue as a forum's topic. Alternatively, you can buy me a cup of coffee if you happen to be in Hochiminh city.
BSD license for most of the code base, but each file is individually licensed especially those in /vendor folder. Please make sure you understand all the license term for files you use in your project.