diff options
| author | sakumisu <[email protected]> | 2025-05-19 17:04:40 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-05-19 17:22:23 +0800 |
| commit | 05e5730cc2da7a044e25879136366fa726e46b29 (patch) | |
| tree | 1bdfe9b16f58444b27c0926ff5e27ca87ff64c36 | |
| parent | d6f912c48dd974822ca3a9bb38c4ac779e706e83 (diff) | |
update: enable CONFIG_USBDEV_ADVANCE_DESC as default
Signed-off-by: sakumisu <[email protected]>
| -rw-r--r-- | cherryusb_config_template.h | 2 | ||||
| -rw-r--r-- | osal/idf/usb_config.h | 4 |
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 |
