What problem does it solve? Developing USB device or host firmware with TinyUSB requires precise knowledge of callback conventions, descriptor macros, tusb_config.h options, and interrupt forwarding, and small mistakes like missing tud_task calls or wrong endpoint numbering cause enumeration failures that are hard to diagnose. ## Core Features & Use Cases - Scenario Recipes: Fourteen step-by-step recipes covering CDC virtual serial, HID, MSC mass storage, UAC2 audio, MIDI, DFU firmware upgrade, USBTMC, Vendor/WebUSB, host stack, and Type-C/PD, each with real code and common error tables. - API and Config Reference: Verified function signatures grouped by tud_/tuh_/tusb_ prefixes plus CFG_TUSB_* / CFG_TUD_* / CFG_TUH_* macro documentation sourced from actual TinyUSB headers. - Pitfall Diagnosis: Twelve critical pitfalls with WRONG/CORRECT code pairs covering task loops, ISR forwarding, descriptor mismatches, and buffer sizing. - Use Case: Ask the agent to create a CDC virtual serial device on ESP32-S3, and it produces tusb_config.h, usb_descriptors.c, and a main loop with correct tusb_init and tud_task calls, then verifies endpoint numbering against the descriptor macros. ## Quick Start Ask the agent to create a TinyUSB CDC virtual serial device for your target board and let it generate the configuration, descriptors, and main loop.