summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-05-17 11:01:30 +0700
committerGitHub <[email protected]>2024-05-17 11:01:30 +0700
commitccc7a36043e055ded1f478a979a303e694123187 (patch)
tree12135854d2556559d1e3b5a89cb22a73f30f3450 /src/common
parent5393f8ddbc2036ee587536d0f9329fbfbdf399d0 (diff)
parentd3098747c03fe7f5d5d8b9a45ed4e7134fcaaf9d (diff)
Merge pull request #2648 from tannewt/esp32c2_h2
Add esp32c2 and esp32h2 for max3421 support
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 3a7d6ad33..1699867c8 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -332,7 +332,7 @@
#define TUP_USBIP_DWC2
#define TUP_DCD_ENDPOINT_MAX 6
-#elif TU_CHECK_MCU(OPT_MCU_ESP32) && (CFG_TUD_ENABLED || !(defined(CFG_TUH_MAX3421) && CFG_TUH_MAX3421))
+#elif TU_CHECK_MCU(OPT_MCU_ESP32, OPT_MCU_ESP32C2, OPT_MCU_ESP32C3, OPT_MCU_ESP32C6, OPT_MCU_ESP32H2) && (CFG_TUD_ENABLED || !(defined(CFG_TUH_MAX3421) && CFG_TUH_MAX3421))
#error "MCUs are only supported with CFG_TUH_MAX3421 enabled"
//--------------------------------------------------------------------+