summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-09-14 21:02:38 +0700
committerhathach <[email protected]>2021-09-14 21:02:38 +0700
commit25ea8f9c9e65d1617382a7896df07afd0dc90ce3 (patch)
treea110117d5afefb674a50ea318e30fc2d66578061 /src/tusb_option.h
parent5404d6d8ae02fac16eb8dbfd4a9d15de8e6c1342 (diff)
update configuration parser
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index a00f3489f..4d7e1e9d2 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -278,6 +278,30 @@
//------------- CLASS -------------//
#endif // TUSB_OPT_HOST_ENABLED
+#ifndef CFG_TUH_HUB
+#define CFG_TUH_HUB 0
+#endif
+
+#ifndef CFG_TUH_CDC
+#define CFG_TUH_CDC 0
+#endif
+
+#ifndef CFG_TUH_HID
+#define CFG_TUH_HID 0
+#endif
+
+#ifndef CFG_TUH_MIDI
+#define CFG_TUH_MIDI 0
+#endif
+
+#ifndef CFG_TUH_MSC
+#define CFG_TUH_MSC 0
+#endif
+
+#ifndef CFG_TUH_VENDOR
+#define CFG_TUH_VENDOR 0
+#endif
+
//--------------------------------------------------------------------+
// Port Specific
// TUP stand for TinyUSB Port (can be renamed)