summaryrefslogtreecommitdiff
path: root/supervisor/supervisor.mk
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-08-21 10:45:05 -0400
committerDan Halbert <halbert@halwitz.org>2020-08-21 10:45:05 -0400
commitf714f53552b41ec4f029399509b3c1761b5250d0 (patch)
treee4d7bcca301c758ed5774341c2d4100004ffae05 /supervisor/supervisor.mk
parent097f93a630199ae81732981ce3778632e7744f6c (diff)
parentba2db853a4bb4a8d08e654b4801432f156bf098e (diff)
Merge remote-tracking branch 'adafruit/main' into ble_hci
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 fdfaa1bf8..e81c51a88 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)\