summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tusb_option.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 6257a87ba..cb4641ad5 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -247,6 +247,10 @@
// USBIP
//--------------------------------------------------------------------+
+#ifndef CFG_TUD_DWC2_SLAVE_ENABLE
+ #define CFG_TUD_DWC2_SLAVE_ENABLE 1
+#endif
+
// DWC2 controller: use DMA for data transfer
// For processors with data cache enabled, USB endpoint buffer region
// (defined by CFG_TUSB_MEM_SECTION) must be declared as non-cacheable.