From 6fea50f735d00dff23d958eec8cf4a386282c193 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 8 Nov 2021 16:41:08 +0700 Subject: musb work well with tm4c123 --- src/device/dcd_attr.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/device') diff --git a/src/device/dcd_attr.h b/src/device/dcd_attr.h index 1befa89b6..7254f3362 100644 --- a/src/device/dcd_attr.h +++ b/src/device/dcd_attr.h @@ -143,7 +143,10 @@ #define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER //------------- TI -------------// -#elif TU_CHECK_MCU(OPT_MCU_MSP430x5xx, OPT_MCU_MSP432E4xx) +#elif TU_CHECK_MCU(OPT_MCU_MSP430x5xx) + #define DCD_ATTR_ENDPOINT_MAX 8 + +#elif TU_CHECK_MCU(OPT_MCU_MSP432E4xx, OPT_MCU_TM4C123, OPT_MCU_TM4C129) #define DCD_ATTR_ENDPOINT_MAX 8 //------------- ValentyUSB -------------// -- cgit v1.3.1