summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2021-12-26 22:37:27 +0100
committerJerzy Kasenberg <[email protected]>2022-01-07 14:12:42 +0100
commit340309561dbf10f17798dc74731e9804e892e0f4 (patch)
treebf2b542a04886da9cf073c0446b0ee25ccc504cd /src/device
parent2f69649bb6a2dcd583b52005dc946e08580323fd (diff)
Add driver for PIC32MZ MCUs
Device-only driver for PIC32MZ MCUs.
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dcd_attr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/dcd_attr.h b/src/device/dcd_attr.h
index 3c5dadaf4..bd8994fd8 100644
--- a/src/device/dcd_attr.h
+++ b/src/device/dcd_attr.h
@@ -86,6 +86,10 @@
#define DCD_ATTR_ENDPOINT_MAX 10
#define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER
+#elif TU_CHECK_MCU(OPT_MCU_PIC32MZ)
+ #define DCD_ATTR_ENDPOINT_MAX 8
+ #define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER
+
//------------- ST -------------//
#elif TU_CHECK_MCU(OPT_MCU_STM32F0)
#define DCD_ATTR_ENDPOINT_MAX 8