fix(dwc2) host driver conflict with max3421e

This commit is contained in:
hathach
2025-03-06 22:46:21 +07:00
parent 6bba41045a
commit 65e44e0a51
7 changed files with 13 additions and 7 deletions

View File

@@ -26,7 +26,7 @@
#include "tusb_option.h"
#if CFG_TUH_ENABLED && defined(TUP_USBIP_DWC2)
#if CFG_TUH_ENABLED && defined(TUP_USBIP_DWC2) && !CFG_TUH_MAX3421
#if !(CFG_TUH_DWC2_SLAVE_ENABLE || CFG_TUH_DWC2_DMA_ENABLE)
#error DWC2 require either CFG_TUH_DWC2_SLAVE_ENABLE or CFG_TUH_DWC2_DMA_ENABLE to be enabled