summaryrefslogtreecommitdiff
path: root/examples/host/bare_api/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-03-06 22:46:21 +0700
committerhathach <[email protected]>2025-03-06 22:46:21 +0700
commit65e44e0a51272f9d75719d90955f19209dbf1ea2 (patch)
treeb1c7e5afb318a58ab457d24d36c4a8f80ef06ea9 /examples/host/bare_api/src
parent6bba41045a4224abb68256dcf2fce893da47a743 (diff)
fix(dwc2) host driver conflict with max3421e
Diffstat (limited to 'examples/host/bare_api/src')
-rw-r--r--examples/host/bare_api/src/tusb_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/host/bare_api/src/tusb_config.h b/examples/host/bare_api/src/tusb_config.h
index fab233be0..a03675c5f 100644
--- a/examples/host/bare_api/src/tusb_config.h
+++ b/examples/host/bare_api/src/tusb_config.h
@@ -69,9 +69,10 @@
// Enable Host stack
#define CFG_TUH_ENABLED 1
+// #define CFG_TUH_MAX3421 1 // use max3421 as host controller
+
#if CFG_TUSB_MCU == OPT_MCU_RP2040
// #define CFG_TUH_RPI_PIO_USB 1 // use pio-usb as host controller
- // #define CFG_TUH_MAX3421 1 // use max3421 as host controller
// host roothub port is 1 if using either pio-usb or max3421
#if (defined(CFG_TUH_RPI_PIO_USB) && CFG_TUH_RPI_PIO_USB) || (defined(CFG_TUH_MAX3421) && CFG_TUH_MAX3421)