summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRyzee119 <[email protected]>2022-06-04 13:47:02 +0930
committerRyan Wendland <[email protected]>2023-02-18 10:24:21 +1030
commitc820c8769267644af049e0be73b04b45d57e8d98 (patch)
tree78e6709d1a2aab318ad203919624a42c15c64ae6 /src/common
parentd367e8f8a8acd82c89ba3c029495b9404c3b7fdb (diff)
ohci: Support configurable number of roothub ports
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 0b10c5118..ee2b896ac 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -55,6 +55,7 @@
#elif TU_CHECK_MCU(OPT_MCU_LPC175X_6X, OPT_MCU_LPC177X_8X, OPT_MCU_LPC40XX)
#define TUP_DCD_ENDPOINT_MAX 16
#define TUP_USBIP_OHCI
+ #define OHCI_RHPORTS 2
#elif TU_CHECK_MCU(OPT_MCU_LPC18XX, OPT_MCU_LPC43XX)
// TODO USB0 has 6, USB1 has 4