Просмотр исходного кода

add supported class to greeting

hathach 12 лет назад
Родитель
Сommit
f28d2d1189
2 измененных файлов с 11 добавлено и 0 удалено
  1. 7 0
      demos/host/src/main.c
  2. 4 0
      readme.md

+ 7 - 0
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)

+ 4 - 0
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 ###