mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
1.6 KiB
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
- A supported development board with at least a button for mouse, keyboard demo.
- A supported toolchain: LPCXpresso, Keil, IAR.
- A ANSI escape supported terminal such as Tera Term to demonstrate properly.