summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-08-19 16:47:20 -0500
committerJeff Epler <jepler@gmail.com>2020-08-19 16:47:40 -0500
commit23aefe9509f7c58acd53d96b5d26a90b7b5b15db (patch)
tree6e3e2715cb72e97faa21e46e390a6075f35a8d14 /ports
parent837abd6da072a55f3c46d62b013690a12e0ee262 (diff)
Add usb-endpoint-count checking
.. however, the number of endpoints is only set for SAMD (8). Other ports need to set the value. Otherwise, the build will show the message ``` Unable to check whether maximum number of endpoints is respected ```
Diffstat (limited to 'ports')
-rw-r--r--ports/atmel-samd/mpconfigport.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/atmel-samd/mpconfigport.mk b/ports/atmel-samd/mpconfigport.mk
index 3fecf867e..a16daf4b0 100644
--- a/ports/atmel-samd/mpconfigport.mk
+++ b/ports/atmel-samd/mpconfigport.mk
@@ -91,3 +91,5 @@ endif # samd51
INTERNAL_LIBM = 1
USB_SERIAL_NUMBER_LENGTH = 32
+
+USB_NUM_EP = 8