summaryrefslogtreecommitdiff
path: root/src/device/dcd_attr.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-12-29 18:27:29 +0700
committerhathach <[email protected]>2021-12-29 18:27:29 +0700
commit30aba24ddc0d25dfa796de3a5d3857a13d440f5e (patch)
tree8cbb988ba6ca126b330cf1fb59a903dbcbee5c90 /src/device/dcd_attr.h
parenta6789b5d5a3c9e41771e5eb8fdb08182c95fbe08 (diff)
parent527036b1f5a3f0aa3994f62e3ab18fa990a40cf8 (diff)
Merge branch 'master' of https://github.com/t123yh/tinyusb into t123yh-master
Diffstat (limited to 'src/device/dcd_attr.h')
-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..695a4a05a 100644
--- a/src/device/dcd_attr.h
+++ b/src/device/dcd_attr.h
@@ -197,6 +197,10 @@
#elif TU_CHECK_MCU(OPT_MCU_XMC4000)
#define DCD_ATTR_ENDPOINT_MAX 8
+//------------ Allwinner -------------//
+#elif TU_CHECK_MCU(OPT_MCU_F1C100S)
+ #define DCD_ATTR_ENDPOINT_MAX 4
+
#else
#warning "DCD_ATTR_ENDPOINT_MAX is not defined for this MCU, default to 8"
#define DCD_ATTR_ENDPOINT_MAX 8