summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-03-06 15:47:19 +0100
committerHiFiPhile <[email protected]>2026-03-06 17:19:05 +0100
commite658e2343589d2f37afbf62c0a6766038739b84d (patch)
treeff71570cd9633af040d856f0d0f8395bdbf548e4 /src
parent860f0e01f21891691185daf048f669ac9797a05a (diff)
fix CI
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/common/tusb_mcu.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 0e5233bbe..c4615a87b 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -71,12 +71,17 @@
#define TUP_DCD_ENDPOINT_MAX 5
#elif TU_CHECK_MCU(OPT_MCU_LPC54)
+ #include "fsl_device_registers.h"
+
// TODO USB0 has 5, USB1 has 6
#define TUP_USBIP_IP3511
- #define TUP_USBIP_IP3516
- #define TUP_USBIP_OHCI
- #define TUP_USBIP_OHCI_NXP
- #define TUP_OHCI_RHPORTS 1 // 1 downstream port
+
+ #if !defined(LPC54114_cm4_SERIES) && !defined(LPC54114_cm0plus_SERIES)
+ #define TUP_USBIP_IP3516
+ #define TUP_USBIP_OHCI
+ #define TUP_USBIP_OHCI_NXP
+ #define TUP_OHCI_RHPORTS 1 // 1 downstream port
+ #endif
#define TUP_DCD_ENDPOINT_MAX 6