From f28d2d1189e0b0aa43d15defe459444551c5f7a6 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 15 Oct 2013 12:39:11 +0700 Subject: [PATCH] add supported class to greeting --- demos/host/src/main.c | 7 +++++++ readme.md | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/demos/host/src/main.c b/demos/host/src/main.c index 44a4ea0e..05624d55 100644 --- a/demos/host/src/main.c +++ b/demos/host/src/main.c @@ -187,6 +187,13 @@ void print_greeting(void) - issue at https://github.com/hathach/tinyusb\n\ --------------------------------------------------------------------\n\n" ); + + puts("This demo support the following classes"); + if (TUSB_CFG_HOST_HUB ) puts(" - Hub"); + if (TUSB_CFG_HOST_HID_MOUSE ) puts(" - HID Mouse"); + if (TUSB_CFG_HOST_HID_KEYBOARD ) puts(" - HID Keyboard"); + if (TUSB_CFG_HOST_MSC ) puts(" - Mass Storage"); + if (TUSB_CFG_HOST_CDC ) puts(" - Communication Device Class"); } //static inline void wait_blocking_us(volatile uint32_t us) diff --git a/readme.md b/readme.md index ae7d8808..1eac0f8f 100644 --- a/readme.md +++ b/readme.md @@ -19,6 +19,10 @@ designed to be simple and run out-of-the-box provided the configuration is corre - Hub - Only support 1 level of hub (due to my laziness) - Multiple host controllers +- Android Accessory Open (comming soon) +- FTDI (coming soon) +- Audio (coming soon) + ### Device ###