hathach/tinyusb
Open-source cross-platform USB stack for embedded systems
- Chart
- Not on a chart right now
- Stars
- 7.3k
What it is
TinyUSB is an open-source, cross-platform USB Host/Device stack for embedded systems. It is designed for memory safety with static buffers and thread safety by deferring interrupts to non-ISR task functions.
Who it is for
It is suited for embedded developers implementing USB functionality across 50+ MCU families and various RTOS or bare-metal environments.
Why it is trending
It stands out for its static-buffer, no-dynamic-allocation design and thread-safe ISR event queue architecture. Actively maintained with release 0.21.0 in June 2026, it supports bare metal as well as FreeRTOS, RT-Thread, and Mynewt.
Main features
- Memory-safe design with static buffers and no dynamic allocation
- Thread-safe architecture deferring USB interrupts to task context
- Supports USB Device and Host classes including CDC, HID, MSC, Audio, and MIDI
- Portable across 50+ MCU families with bare metal, FreeRTOS, RT-Thread, and Mynewt support
Summarized on November 19, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary