espressif_tinyusb/doxygen/started_host_demo.md

1.6 KiB

Host Demos

Table of Contents

device application code is store at demos/device/src containing

File Description
main.c Initialization (board, stack) and a RTOS task scheduler call or just simple a indefinite loop for non OS to invoke class-specific tasks.
tusb_config.h tinyusb stack configuration.
app_os_prio.h RTOS task priority definitions
Class-specific Application files for supported classes.

The demo will start with the greeting of enabled classes and chosen RTOS then start to blink an LED at 1 Hz.

Prerequisites

In order to run application demo, you would need

Human Interface Device (HID)

Keyboard

Mouse

Mass Storage Class Device (MSC)

Communication Class Device (CDC)

Serial