Device application examples
Device application examples show how a board presents USB functions to a host. They connect a USB class or composite-device use case to descriptors, application data, and a board build. Use this page with Application examples, Host, dual-role, and Type-C examples, USB device stack, and USB class drivers.
Device example model
Each example starts with a host-visible USB use case. Its configuration selects the supported functions, descriptors describe those functions during enumeration, and the application supplies the data or events that the host uses. The board build then shows that the selected USB shape fits a real controller and runtime.
This diagram shows how a device use case becomes a host-visible function on a selected board.
flowchart LR
A[USB use case] --> B[Class configuration]
B --> C[Device descriptors]
C --> D[Board and runtime build]
D --> E[Host enumeration]
E --> F[Application data or events]
Example lifecycle
An example joins application behavior, USB descriptors, and class or buffer capacity. The build selects the board and runtime model that provide the controller, memory, and scheduling support. The application then supplies a simple data source or event path, such as generated media, HID reports, serial data, storage callbacks, or network packets.
The video examples use generated color bars to exercise the USB video path without a camera. video_capture can provide a buffered YUY2 frame, fixed MJPEG frames, or a bufferless YUY2 payload. video_capture_2ch exposes two streams with separate pacing and frame state, using YUY2 for one stream and MJPEG for the other.
References: examples/…/CMakeLists.txt• L8-46 examples/…/CMakeLists.txt• L22-36 examples/…/main.c• L114-176 examples/…/main.c• L60-84 examples/…/main.c• L128-155 examples/…/main.c• L233-345 examples/…/main.c• L117-225
USB class scenarios
The examples isolate different host-facing USB contracts. Focused examples are useful when a class or board change must be understood without the extra interfaces and resource pressure of a composite device.
| Scenario | Representative examples | Main stack feature exercised |
|---|---|---|
| Serial and control | cdc_dual_ports, webusb_serial, usbtmc | Virtual serial links, browser access, or instrument-style control |
| Human interface | hid_boot_interface, hid_multiple_interface, hid_composite, hid_generic_inout | Boot protocol, several HID interfaces, report IDs, or raw reports |
| Audio | audio_test, audio_test_multi_rate, audio_4_channel_mic, uac2_headset, uac2_speaker_fb | Microphone and speaker streams, rates, channels, and feedback |
| Storage and file transfer | msc_dual_lun, mtp, dfu, dfu_runtime | Logical media, object transfer, firmware transfer, and DFU signaling |
| Music and media | midi_test, midi2_device, video_capture, video_capture_2ch | MIDI transport and one or more video streams |
| Network and specialized peripherals | net_lwip_webserver, printer_to_cdc | USB networking with host network services or data exchange between peripheral classes |
The scenarios also cover different transfer needs. HID and CDC focus on small events or streams. Audio and video focus on time-sensitive data. Storage and transfer tests focus on sustained bulk or control traffic. USB device stack describes how these class contracts fit into the device path.
References: examples/…/main.c• L207-221 examples/…/main.c• L144-169 examples/…/main.c• L62-105 examples/…/main.c• L162-218 examples/…/main.c• L233-345 examples/…/main.c• L57-75 examples/…/main.c• L26-36
Instrument control behavior
The usbtmc example represents a USB Test and Measurement Class (USBTMC) instrument. It presents one instrument interface with bulk command and response traffic, plus an optional interrupt path for status notifications. Its descriptor has full-speed and high-speed forms so the same example can exercise controller endpoint limits and speed-specific transfer sizes.
The application accepts instrument commands and provides a standard identification response. It also reports USB488 capabilities such as SCPI and trigger support. Delayed replies, message-available status, service requests, and clear or abort operations give host tools a path to test normal command exchange and recovery after an interrupted transfer.
This sequence shows the host command path and the control path used to recover or clear a pending response.
sequenceDiagram
participant H as Host instrument client
participant D as USBTMC device
H->>D: Send command
D-->>D: Prepare response and status
H->>D: Request response
D-->>H: Return instrument data
H->>D: Clear or abort pending transfer
D-->>H: Confirm cleared state
References: examples/…/usb_descriptors.c• L73-109 examples/…/usb_descriptors.c• L124-200 examples/…/usbtmc_app.c• L33-68 examples/…/usbtmc_app.c• L75-173 examples/…/usbtmc_app.c• L175-215 examples/…/usbtmc_app.c• L259-333
Network device behavior
The net_lwip_webserver example connects a USB network function to an lwIP network interface. Most targets use CDC-NCM. Some targets use a dual RNDIS and CDC-ECM device with two configurations so the host can select its preferred driver path. The NCM build also provides the Windows metadata needed for automatic NCM driver setup.
The device uses 192.168.7.1, gives the host one of the 192.168.7.2 through 192.168.7.4 addresses through DHCP, and serves an HTTP page. Higher-RAM targets add an iperf TCP server and larger transfer capacity. The board button changes the link state seen by the host, while the LED shows USB mount, unmount, suspend, and resume events.
The network path keeps the Ethernet frame limit separate from the IP packet limit. The USB network MTU bounds the full frame, while the lwIP interface MTU excludes the Ethernet header. Outbound frames larger than the USB network limit are rejected, and a frame is sent only when TinyUSB has transmit capacity. Inbound frames are passed to lwIP through held USB buffers when the target supports that path; otherwise the example copies them into lwIP buffers. Receive checksum checks are disabled to reduce CPU use because the example has only the USB link. A product that forwards traffic or needs end-to-end integrity must restore those checks.
The example is a no-OS build and needs the lwIP dependency. Its CMake build uses the repository copy when available and can use a configured external copy when needed. The Make build uses the repository lwIP sources. Both build paths add the network support needed by the selected board.
References: examples/…/README.md• L3-18 examples/…/README.md• L20-30 examples/…/CMakeLists.txt• L6-17 examples/…/CMakeLists.txt• L41-82 examples/…/Makefile• L9-15 examples/…/Makefile• L20-65 examples/…/main.c• L28-39 examples/…/main.c• L117-139 examples/…/main.c• L151-178 examples/…/main.c• L257-287 examples/…/lwipopts.h• L35-85 examples/…/lwipopts.h• L93-103 examples/…/skip.txt• L1-27
Composite device scenarios
Composite examples expose more than one USB function through one device connection. They show how separate host drivers share descriptors, endpoints, application events, and board resources.
Function combinations
The most useful combinations pair a control or data path with storage or media. Each function remains visible to the host while the application can connect the functions when the product needs a bridge or shared source.
| Example | Host-visible combination | Product pattern |
|---|---|---|
cdc_msc | CDC serial plus MSC disk | Control channel beside removable storage |
cdc_dual_ports | Two independent CDC ports | Separate serial paths over one cable |
cdc_uac2 | CDC serial plus UAC2 audio | Audio I/O with serial control |
printer_to_cdc | Printer plus CDC serial | Data bridge between printer and serial paths |
webusb_serial | WebUSB vendor interface plus CDC | Browser transport beside a standard serial port |
uac2_speaker_fb | UAC audio plus optional HID telemetry | Audio streaming with a debug channel |
video_capture_2ch | Two UVC video functions | Two video streams with different formats |
References: examples/…/tusb_config.h• L89-108 examples/…/main.c• L72-132 examples/…/msc_disk.c• L29-77 examples/…/tusb_config.h• L92-154 examples/…/usb_descriptors.c• L69-157 examples/…/README.md• L12-27 examples/…/README.md• L14-37 examples/…/main.c• L194-322
Alternate configurations
Some examples change the device personality before enumeration instead of exposing every function at once. dynamic_configuration reads the board button state while the host requests the device descriptor. It then presents either a CDC plus MIDI configuration or an MSC configuration, with matching device and speed descriptors. The host enumerates the selected personality; it does not choose between these two configurations.
midi2_device keeps MIDI 1.0 and MIDI 2.0 paths available through alternate settings so a capable host can use the newer transport while older hosts retain a fallback. A speed-aware audio example applies the same idea to the data format and endpoint capacity selected for the bus.
This distinction matters during descriptor review. A composite device exposes several functions together. A startup-selected configuration presents one of several device personalities. An alternate configuration or setting lets the host choose among supported modes. A speed-aware audio example applies the same idea to the data format and endpoint capacity selected for the bus.
References: examples/…/README.md• L3-21 examples/…/README.md• L3-18 examples/…/README.md• L3-13 examples/…/README.md• L3-29 examples/…/tusb_config.h• L89-105 examples/…/usb_descriptors.c• L29-35 examples/…/usb_descriptors.c• L40-91 examples/…/usb_descriptors.c• L97-113 examples/…/usb_descriptors.c• L153-198 examples/…/usb_descriptors.c• L238-280 examples/…/README.md• L17-26 examples/…/README.md• L7-10
Configuration and board builds
The USB configuration defines the device shape. The board build supplies the controller, clocks, pins, memory, and runtime support needed to make that shape work. A successful build therefore validates one class scenario for one target. It does not make the scenario portable to every board. Per-example skip.txt rules also remove MCU families and boards that cannot support the selected scenario; the network and video examples keep their own target exclusions in examples/…/skip.txt and examples/…/skip.txt.
Descriptor configurations
Class-instance counts and buffer capacity must match the interfaces and endpoints that the descriptors advertise. The examples use these settings to show real limits such as two CDC ports, two storage logical units, four audio input channels, two video streams, and speed-dependent audio formats. Their application code also uses those limits to size generated media, transfers, and network data.
Audio configurations also bind the advertised sample rates, formats, channel counts, and stream buffers to the generated data path. For example, audio_test_multi_rate accepts 32 kHz, 48 kHz, and 96 kHz input choices and changes its generated frame size with the selected format. cdc_uac2 keeps audio and CDC capacity within the limits of the selected MCU, including lower-rate or lower-width audio choices on constrained targets.
The network example selects one network driver family at a time. NCM is the default on most targets. Target rules can select ECM/RNDIS instead, and the descriptor set then exposes the host-facing network configurations for that choice. SRAM tier also changes the network buffer plan: higher-RAM targets use larger NCM transfer blocks and enable iperf, while lower-RAM targets use smaller buffers.
dynamic_configuration keeps the selected device descriptor, configuration descriptor, and high-speed qualifier or other-speed descriptor aligned with the chosen CDC/MIDI or MSC personality. Its full-speed and high-speed forms also keep endpoint sizes aligned with the negotiated bus speed.
References: examples/…/tusb_config.h• L89-105 examples/…/main.c• L62-81 examples/…/tusb_config.h• L95-118 examples/…/main.c• L117-225 examples/…/README.md• L14-35 examples/…/main.c• L60-84 examples/…/tusb_config.h• L94-136 examples/…/tusb_config.h• L92-163 examples/…/README.md• L32-45 examples/…/tusb_config.h• L91-123 examples/…/tusb_config.h• L125-160 examples/…/lwipopts.h• L39-85 examples/…/main.c• L117-154 examples/…/usb_descriptors.c• L64-83 examples/…/usb_descriptors.c• L175-198 examples/…/usb_descriptors.c• L203-261 examples/…/usb_descriptors.c• L266-280
Board selection
Device builds select a BOARD and resolve it through the board support package. Family filters and per-example skip.txt rules remove targets that lack the required hardware, memory, controller, or runtime support. The RTOS audio, CDC plus MSC, composite HID, and MIDI examples use a shared base of unsupported MCU families and FreeRTOS targets. Audio and CDC plus MSC add scenario-specific target exclusions, while the four-channel microphone example also excludes selected LPCXpresso boards. The existing multi-rate audio, MIDI 2.0, and UAC2 rules omit their own unsupported targets. The network and two-channel video examples also keep scenario-specific exclusions for families and boards that cannot meet their needs.
The normal selection path is:
- Select an example under
examples/device. - Select a board through a CMake preset or
-DBOARD=.... - Select no-OS or an RTOS mode when the example provides both.
- Build and flash the board-specific output through the board's supported flow.
References: examples/…/CMakeLists.txt• L1-6 examples/…/CMakePresets.json• L1-6 examples/…/CMakeLists.txt• L19-24 examples/…/CMakeLists.txt• L96-98 examples/…/Makefile• L1 hw/…/family_support.cmake• L14-46 hw/…/family_support.cmake• L208-225 hw/…/family_support.cmake• L400-425 examples/…/skip.txt• L1-7 examples/…/skip.txt• L1-27 examples/…/skip.txt• L1-24 examples/…/skip.txt• L1-24 examples/…/skip.txt• L1-22 examples/…/skip.txt• L1-22 examples/…/skip.txt• L1-3 examples/…/skip.txt• L1-6 examples/…/skip.txt• L1-2 examples/…/skip.txt• L1-12 examples/…/skip.txt• L1-12 examples/…/skip.txt• L1-27 examples/…/skip.txt• L1-20
Runtime variants
No-OS and RTOS variants keep the USB product shape similar while changing how application work is scheduled. The no-OS form uses a direct application loop. RTOS forms separate device servicing from class work and board indicators. Audio examples produce one frame at a time, while video examples pace each stream and wait for transfer completion before reusing its frame. Scheduling and buffer ownership are therefore part of the class scenario.
The examples also show class-specific application paths. cdc_msc_freertos runs CDC echo work beside USB service and initializes the MSC disk. Its storage path can move read and write work to an RTOS task, while the no-OS form serves the small disk directly. cdc_msc_throughput removes storage and echo work from the measurement path so bulk traffic measures the USB and host-driver ceiling. dfu_runtime reports a DFU detach request through its board indicator rather than performing a bootloader jump. hid_composite_freertos chains keyboard, mouse, consumer-control, and gamepad reports and can request remote wakeup from suspend. midi_test_freertos sends a repeating note sequence and drains incoming packets.
msc_dual_lun also shows that a device example can keep its USB behavior while changing its scheduler support across no-OS, FreeRTOS, and ThreadX. mtp follows the same common device lifecycle without adding a separate application data task in this entry point.
The usbtest example is a transfer-stress case rather than a product class demo. It presents a vendor-specific source and sink interface to the Linux USB test pair. Its capability tiers add vendor control, interrupt, and isochronous paths to a bulk base. Alternate setting zero carries no endpoints. Alternate setting one carries the active source and sink endpoints, so the host can select the full test path without claiming isochronous bandwidth by default.
The application keeps bulk, interrupt, and isochronous pipes supplied with packet-sized data. It also supports control write/read-back and delayed control answers for host timing tests. Packet length follows the negotiated bus speed, so a high-speed build can still operate correctly when the host enumerates it at full speed.
References: examples/…/main.c• L80-132 examples/…/msc_disk.c• L153-186 examples/…/main.c• L29-37 examples/…/main.c• L69-160 examples/…/main.c• L101-131 examples/…/main.c• L194-328 examples/…/main.c• L173-218 examples/…/main.c• L48-105 examples/…/main.c• L57-75 examples/…/main.c• L295-345 examples/…/main.c• L274-322 examples/…/main.c• L61-79 examples/…/main.c• L119-198 examples/…/main.c• L205-295
Example selection guide
Choose the smallest example that exercises the feature under investigation. Use a composite example for shared descriptors or several host drivers. Use a speed, throughput, or test example for transfer timing, endpoint pressure, or controller behavior.
| Question | Starting point |
|---|---|
| Does a new board start and report basic I/O? | board_test |
| Does one class enumerate and exchange data? | A focused HID, CDC, audio, storage, MIDI, video, network, or specialized-class example |
| Does one cable need several host functions? | cdc_msc, cdc_uac2, printer_to_cdc, or webusb_serial |
| Does the device need several interfaces of one class? | cdc_dual_ports, hid_multiple_interface, video_capture_2ch, or msc_dual_lun |
| Does the device present one of several modes based on startup state or an alternate setting? | dynamic_configuration, midi2_device, or a speed-aware audio example |
| Does the controller need sustained transfer stress? | cdc_msc_throughput or usbtest |
Change checklist
When these files or sections are changed, remember to consider these:
- Keep class-instance counts aligned with every interface, endpoint, and alternate setting in the descriptor.
- Keep application callbacks and data sources aligned with each function added to a composite device.
- Check that new endpoints or larger streams fit the selected board's speed, RAM, and controller limits.
- Add a matching device entry and family-aware build target when a new example is introduced.
- Preserve the no-OS and RTOS behavior split when both variants exist.
- Keep scheduler and task-allocation defaults aligned with class timing needs, especially for isochronous audio and video frame pacing.
- Keep stream completion state aligned with the number of video streams and each stream's negotiated interval.
- Keep throughput examples free of backing-store or echo work that would change what the measurement represents.
- Keep DFU detach behavior aligned with the bootloader contract. The runtime example only signals the request.
- Keep HID report IDs and report-completion order aligned with the composite report descriptor.
- Drain unused MIDI input when the descriptor exposes an input path, or a host sender can block.
- Keep the network driver choice, network descriptors, host-driver expectations, and target-specific configuration aligned.
- Keep the lwIP interface address, DHCP leases, DNS behavior, and USB network link state aligned with the host-facing network example.
- Keep the lwIP IP MTU below the USB network frame limit by the Ethernet header size. Reject frames that exceed the USB network limit.
- Keep network packet ownership and USB transmit readiness aligned so lwIP does not reuse or drop a packet before the USB transfer completes.
- Keep high-throughput SRAM settings aligned with NCM buffer sizes, zero-copy receive support, and iperf availability.
- Restore lwIP receive checksum checks when the example gains another network path or needs end-to-end integrity.
- Keep the lwIP dependency available to both CMake and Make build paths.
- Update family filters and skip.txt rules when a scenario becomes valid or invalid for a target.
- Review the network and video skip.txt rules when board support, memory needs, or controller limits change for those scenarios.
- Keep the USBTMC interface, bulk packet sizes, optional interrupt endpoint, and speed-specific descriptors aligned.
- Keep USBTMC command state, status reporting, and clear or abort callbacks aligned so a host can recover from a pending response.
- For
usbtest, keep the Gadget Zero identity, interface zero, tier value, endpoint layout, packet lengths, and host test assumptions aligned. - Keep full-speed and high-speed descriptor variants consistent with the transfer sizes that the application and host test use.
- Keep the startup-selected mode in
dynamic_configurationaligned across the device descriptor, configuration descriptor, device qualifier, and other-speed descriptor. - Keep the distinct product IDs for the two
dynamic_configurationpersonalities so the host refreshes its driver match after a mode change. - Keep WebUSB and Microsoft OS descriptors tied to the vendor interface and its advertised CDC-plus-vendor configuration.
- Keep audio format lists, sample-rate controls, channel counts, and generated frame sizes aligned.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Class counts and descriptor interfaces do not match | The host sees missing or unusable functions during enumeration | Treat class configuration and descriptors as one change and review the interface map |
| A composite function exceeds board endpoint or memory limits | The example may fail to build, fail to enumerate, or lose transfers | Select a target that supports the complete descriptor and buffer plan |
| An example is built for an unsupported family or board | CMake filters the target or produces no usable image | Check family filters and skip.txt rules before changing the target |
| The selected network driver mode does not match the target descriptor or host driver | The host may not load a network interface or may select the wrong configuration | Keep NCM, ECM, and RNDIS selection aligned across target rules, descriptors, and host expectations |
| The lwIP dependency is missing from the selected build path | The network example cannot configure or link | Fetch the repository dependency or set the supported external CMake path |
| High-throughput network buffers exceed the board's usable RAM | The build can overflow memory or network traffic can fail under load | Keep SRAM tier, NCM block sizes, and iperf selection aligned |
| Receive checksums stay disabled in a forwarding or multi-link product | Corrupt data can pass through lwIP without detection | Restore the lwIP receive checksum options outside the USB-only example |
| The USB network link state does not follow the lwIP link state | The host keeps a stale connected or disconnected view and network recovery tests give false results | Send each link transition from the network interface to the USB network class |
| Network packets exceed the USB network frame limit | lwIP rejects the frame and the host loses network traffic | Keep the lwIP IP MTU below the USB frame MTU and reject oversized Ethernet frames |
| The network transmit buffer is still busy | lwIP reports a buffer or use error and the host loses network traffic | Wait for USB transmit capacity before handing off a packet |
| A received network packet is not returned to the USB class | Further host packets can stop arriving | Renew the USB receive buffer after lwIP accepts or rejects the packet |
| A USBTMC speed descriptor or endpoint map does not match the active controller mode | Instrument hosts can reject the interface or fail to exchange bulk messages | Keep full-speed and high-speed descriptors and endpoint choices tied to the class configuration |
| A USBTMC reply is not reset after clear, abort, or a new command | A stale response can block the next command or leave status bits set | Reset reply state and re-arm the bus read for each recovery path |
A startup mode in dynamic_configuration has mismatched device and configuration descriptors | The host may bind the wrong driver or reject the device during enumeration | Keep the CDC/MIDI and MSC descriptor families synchronized, including qualifier and other-speed forms |
| A WebUSB or Microsoft OS descriptor points to the wrong interface | Browser or Windows support can fail while CDC still enumerates | Keep BOS, vendor requests, interface numbers, and the vendor endpoint pair consistent |
| A host selects a speed or alternate setting that the application does not support | Audio, video, MIDI, or test traffic can stop after negotiation | Keep speed-aware descriptors, class settings, packet sizes, and stream handling consistent |
| Video data is sent before the prior frame completes | Frames can be dropped or the stream can stop | Keep one in-flight transfer per stream and clear it on completion |
usbtest uses the wrong identity, interface, or capability tier | The Linux test driver does not bind or selects the wrong battery | Preserve the expected Gadget Zero identity and tier encoding |
usbtest advertises active isochronous endpoints in alternate setting zero | The device claims bandwidth before the host selects the test path | Keep alternate setting zero empty and select the full endpoint set in alternate setting one |
| Host test sizes are not aligned with the device's packet behavior | Bulk runs can report overflow, short transfers, or timeouts | Use the host script or pass explicit packet-aligned parameters |
| An audio RTOS scheduler tick is too slow for USB frames | Enumeration can succeed while capture or playback fails | Keep the audio scheduling rate matched to the frame service interval |
| A DFU runtime detach signal is treated as a bootloader jump | The host sees a detach request but the device does not enter update mode | Connect the runtime callback to the board's real bootloader handoff in a product build |
| A HID report chain does not match its report IDs | Some reports are never sent or the host decodes the wrong report type | Keep report IDs, descriptor order, and completion chaining consistent |
| A storage callback uses a buffer outside the selected disk or returns before async I/O completes | The host can see corrupt sectors or a stalled MSC request | Keep disk capacity, callback bounds, and RTOS I/O completion state aligned |
| An audio format or rate is advertised without matching application buffer capacity | The host can select a stream that overruns or sends incomplete frames | Keep format lists, endpoint sizes, and generated audio frames derived from the same limits |
Key files
| File | Why to read it |
|---|---|
| examples/…/CMakeLists.txt | The device example entry point and family-filtered target list |
| examples/…/CMakePresets.json | The link from device examples to board build presets |
| examples/…/README.md | A clear composite CDC and MSC product scenario |
| examples/…/tusb_config.h | The class and buffer shape of a CDC plus MSC device |
| examples/…/msc_disk.c | A small storage backing store and its host-facing storage behavior |
| examples/…/main.c | The RTOS shape of a CDC plus MSC device |
| examples/…/msc_disk.c | Asynchronous storage work beside USB service |
| examples/…/main.c | A pure USB bulk-throughput measurement path |
| examples/…/README.md | A device that selects a USB personality at enumeration |
| examples/…/tusb_config.h | The class choices shared by the selectable personalities |
| examples/…/usb_descriptors.c | The startup-selected CDC/MIDI and MSC descriptor personalities, including speed variants |
| examples/…/README.md | A composite control and audio scenario |
| examples/…/tusb_config.h | Audio and CDC limits across target classes |
| examples/…/usb_descriptors.c | The combined audio and serial host view |
| examples/…/usb_descriptors.c | The CDC and vendor interface plus WebUSB host metadata |
| examples/…/README.md | The network example's host behavior, driver choices, limits, and build requirements |
| examples/…/main.c | A USB network device linked to lwIP, DHCP, HTTP, link-state behavior, and buffer ownership |
| examples/…/tusb_config.h | Target-based network driver and throughput choices |
| examples/…/lwipopts.h | lwIP limits, checksum policy, and memory settings for the USB-only path |
| examples/…/CMakeLists.txt | The CMake dependency and board build path for the network example |
examples/device/net_lwip_webserver/Makefile | The Make dependency and source selection for the network example |
| examples/…/skip.txt | MCU family and board exclusions for the network scenario |
| examples/…/usb_descriptors.c | The USBTMC interface, endpoint choices, strings, and speed-specific descriptors |
| examples/…/usbtmc_app.c | The instrument command, response, status, and recovery behavior |
| examples/…/main.c | Generated audio data and host audio control handling |
| examples/…/main.c | A multi-channel audio stream with RTOS scheduling |
| examples/…/README.md | A speed-aware class configuration with multiple audio formats |
| examples/…/main.c | Rate selection and generated audio frames |
| examples/…/skip.txt | Board and family exclusions for the multi-rate audio scenario |
| examples/…/skip.txt | Board and family exclusions for the UAC2 headset scenario |
| examples/…/README.md | The UAC2 speaker and optional HID telemetry scenario |
| examples/…/skip.txt | Board and family exclusions for the UAC2 speaker feedback scenario |
| examples/…/main.c | A single video stream with selectable frame sources and negotiated frame pacing |
| examples/…/main.c | Two video streams with separate formats, pacing, and transfer state |
| examples/…/skip.txt | Target exclusions for the two-stream video scenario |
| examples/…/main.c | Composite HID reports and report completion chaining |
| examples/…/main.c | Periodic MIDI output and input draining |
| examples/…/skip.txt | Board and MCU exclusions for the MIDI 2.0 scenario |
| examples/…/main.c | The runtime-side DFU detach signal |
| examples/…/main.c | The scheduler variants around a multi-LUN storage device |
| examples/…/main.c | The common lifecycle for the MTP device example |
| examples/…/README.md | The host contract and transfer-stress purpose of the device test peer |
| examples/…/main.c | Vendor source and sink pumps plus control-transfer tests |
| examples/…/usb_descriptors.c | The vendor interface, alternate settings, tiers, and speed-specific endpoint map |
examples/device/audio_test_freertos/sdkconfig.defaults | The scheduler setting for the FreeRTOS audio path |
| examples/…/skip.txt | Target exclusions for the no-OS microphone scenario |
| examples/…/skip.txt | Target and runtime exclusions for the RTOS microphone scenario |
| examples/…/skip.txt | Target exclusions for the two-port CDC scenario |
hw/bsp/family_support.cmake | The shared rules for board, family, runtime, and example support |