hathach/tinyusb
An open source cross-platform USB stack for embedded system observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 66
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 162.0
- age_days: 5028
- days_rel: 64
- days_push: 7
- n_releases_24m: 5
Adoption not part of the score
7055 stars · 1501 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
TinyUSB is an open-source, cross-platform USB Host and Device stack for embedded systems written in C. It is designed for memory safety (no dynamic allocation), thread safety, and portability across 50+ MCU families, supporting classes like CDC, HID, MSC, Audio, and WebUSB.
Use cases
- implement USB device firmware on a microcontroller
- add USB host support to an embedded project
- create a USB HID keyboard or mouse device
- expose USB CDC serial port on an MCU
- implement USB mass storage (MSC) on embedded hardware
- add WebUSB support to a firmware project
- use USB MIDI on a microcontroller
When to choose
- you need a portable, well-supported USB stack across many MCU families
- you want a memory-safe stack with no dynamic allocation for embedded use
- you need both USB host and device support in one stack
- you use an RTOS like FreeRTOS, RT-Thread, or Mynewt, or run bare metal
When to avoid
- you need USB support only on desktop/server operating systems
- your target MCU is not among the supported 50+ families and you cannot write a port driver
- you need a high-level USB API rather than a low-level embedded stack
Facets
library · maturity stable
embedded http-server developer-tools embedded-systems hardware cross-platform embedded c cross-platform usb-stack usb-host usb-device usb-hid usb-cdc usb-msc midi webusb rtos firmware
2 sources
- readme: https://github.com/hathach/tinyusb · fetched 2026-08-28 · b13372c5bd92
- homepage: https://www.tinyusb.org · fetched 2026-08-29 · 9b292e5e402a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hathach/tinyusb | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem