summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-13 12:41:55 +0700
committerhathach <[email protected]>2025-10-13 12:41:55 +0700
commitee7a7c56db8d6429e9df2bf042cbbe638210100d (patch)
tree095100759f33f247c8a2f163ed64df00592bd57c /src/common
parent87523f2494109b45307644a36f035b5ad11d5ba9 (diff)
get cmake build with 54h20 not tested on actual hw, probably not running
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 1c11df114..1f8975e55 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -137,6 +137,12 @@
// 8 CBI + 1 ISO
#define TUP_DCD_ENDPOINT_MAX 9
+#elif TU_CHECK_MCU(OPT_MCU_NRF54)
+ #define TUP_USBIP_DWC2
+ #define TUP_USBIP_DWC2_NRF
+ #define TUP_DCD_ENDPOINT_MAX 16
+ #define CFG_TUH_DWC2_DMA_ENABLE_DEFAULT 0
+
//--------------------------------------------------------------------+
// Microchip
//--------------------------------------------------------------------+