summaryrefslogtreecommitdiff
path: root/supervisor/supervisor.mk
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-08-25 16:39:23 -0700
committerScott Shawcroft <scott@tannewt.org>2020-08-25 16:39:23 -0700
commit8b71e26abdd5ae2dfcd82d9f2dcb8f7179882d3f (patch)
treea9167d237c97818596b554a67a2d3b60a305b566 /supervisor/supervisor.mk
parent380cbfba55e45f9f0d8ccae6c28c23b1ea93147f (diff)
parent78c512e86b5c61d337e10cb5ec598cecd728c5f6 (diff)
Merge remote-tracking branch 'adafruit/main' into native_wifi
Diffstat (limited to 'supervisor/supervisor.mk')
-rw-r--r--supervisor/supervisor.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/supervisor/supervisor.mk b/supervisor/supervisor.mk
index 25b240036..c876a11cc 100644
--- a/supervisor/supervisor.mk
+++ b/supervisor/supervisor.mk
@@ -171,6 +171,10 @@ ifndef USB_MIDI_EP_NUM_IN
USB_MIDI_EP_NUM_IN = 0
endif
+ifndef USB_NUM_EP
+USB_NUM_EP = 0
+endif
+
USB_DESCRIPTOR_ARGS = \
--manufacturer $(USB_MANUFACTURER)\
--product $(USB_PRODUCT)\
@@ -180,6 +184,7 @@ USB_DESCRIPTOR_ARGS = \
--interface_name $(USB_INTERFACE_NAME)\
--devices $(USB_DEVICES)\
--hid_devices $(USB_HID_DEVICES)\
+ --max_ep $(USB_NUM_EP) \
--cdc_ep_num_notification $(USB_CDC_EP_NUM_NOTIFICATION)\
--cdc_ep_num_data_out $(USB_CDC_EP_NUM_DATA_OUT)\
--cdc_ep_num_data_in $(USB_CDC_EP_NUM_DATA_IN)\