summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cherryusb_config_template.h2
-rw-r--r--osal/idf/usb_config.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/cherryusb_config_template.h b/cherryusb_config_template.h
index f000d7e9..8f2f5652 100644
--- a/cherryusb_config_template.h
+++ b/cherryusb_config_template.h
@@ -60,7 +60,7 @@
// #define CONFIG_USBDEV_TEST_MODE
/* enable advance desc register api */
-// CONFIG_USBDEV_ADVANCE_DESC
+#define CONFIG_USBDEV_ADVANCE_DESC
/* move ep0 setup handler from isr to thread */
// #define CONFIG_USBDEV_EP0_THREAD
diff --git a/osal/idf/usb_config.h b/osal/idf/usb_config.h
index dde3bccb..b970f705 100644
--- a/osal/idf/usb_config.h
+++ b/osal/idf/usb_config.h
@@ -271,4 +271,6 @@
#define CONFIG_USBHOST_PIPE_NUM 8
#else
#error "Unsupported SoC"
-#endif \ No newline at end of file
+#endif
+
+#define CONFIG_USBDEV_ADVANCE_DESC \ No newline at end of file