diff options
| author | hathach <[email protected]> | 2024-09-04 20:56:04 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-09-04 20:56:04 +0700 |
| commit | 0bb7b992d8383e30a84d0114537ce777fb9d678e (patch) | |
| tree | e3397e56927a376b728377e309d74d154d4989bd /src/common | |
| parent | 4349e99fb29dbc7d019aa2fbb6344864799d8c1b (diff) | |
dwc2: for esp32 force disconnect/connect using USB_WRAP otg pad override (DM=DP=0) in addition to dwc2's dctrl
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_mcu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 52debf079..0a4462a0a 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -336,6 +336,7 @@ //--------------------------------------------------------------------+ #elif TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3) #define TUP_USBIP_DWC2 + #define TUP_USBIP_DWC2_ESP32 #define TUP_DCD_ENDPOINT_MAX 6 #elif TU_CHECK_MCU(OPT_MCU_ESP32, OPT_MCU_ESP32C2, OPT_MCU_ESP32C3, OPT_MCU_ESP32C6, OPT_MCU_ESP32H2) |
