summaryrefslogtreecommitdiff
path: root/demos/host/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-05-06 20:09:06 +0700
committerhathach <[email protected]>2013-05-06 20:09:06 +0700
commitfd49cff8e86608cd79e44d8d257e184b95c7dbdd (patch)
tree63afb0f543ccdd846876fded192331d5fb1c770c /demos/host/src
parent4fa7f77ee2518cb7f187fb6caa85688836b385c4 (diff)
add stub for msc host & hub driver
Diffstat (limited to 'demos/host/src')
-rw-r--r--demos/host/src/tusb_config.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h
index 682bc339b..2297a6213 100644
--- a/demos/host/src/tusb_config.h
+++ b/demos/host/src/tusb_config.h
@@ -65,15 +65,18 @@
//--------------------------------------------------------------------+
// HOST CONFIGURATION
//--------------------------------------------------------------------+
-#define TUSB_CFG_HOST_DEVICE_MAX 1
+#define TUSB_CFG_HOST_DEVICE_MAX 2
#define TUSB_CFG_CONFIGURATION_MAX 1
//------------- USBD -------------//
#define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 256
//------------- CLASS -------------//
+#define TUSB_CFG_HOST_HUB 0
#define TUSB_CFG_HOST_HID_KEYBOARD 1
-#define TUSB_CFG_HOST_HID_MOUSE 1
+#define TUSB_CFG_HOST_HID_MOUSE 1
+#define TUSB_CFG_HOST_HID_GENERIC 0
+#define TUSB_CFG_HOST_MSC 1
//--------------------------------------------------------------------+
// DEVICE CONFIGURATION