summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorkamtom480 <46525824+kamtom480@users.noreply.github.com>2019-10-08 09:41:29 +0200
committerGitHub <noreply@github.com>2019-10-08 09:41:29 +0200
commitf6e553f89f21455953731aefb8b63b0c2ae02727 (patch)
tree444a3d0f64c67611e5f0519edd6c5c2dafcf3795 /supervisor
parent79096dbacdcfffe9e097b6fb0706b5cbc625568c (diff)
parent4eb11fbde65872bf3385bfd1b487adf72eec4016 (diff)
Merge branch 'master' into circuitpython-number-endpoint
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/supervisor.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/supervisor/supervisor.mk b/supervisor/supervisor.mk
index e1d5f5951..48697a94a 100644
--- a/supervisor/supervisor.mk
+++ b/supervisor/supervisor.mk
@@ -94,6 +94,10 @@ ifndef USB_HID_DEVICES
USB_HID_DEVICES = "KEYBOARD,MOUSE,CONSUMER,GAMEPAD"
endif
+ifndef USB_MSC_MAX_PACKET_SIZE
+USB_MSC_MAX_PACKET_SIZE = 64
+endif
+
ifndef USB_CDC_EP_NUM_NOTIFICATION
USB_CDC_EP_NUM_NOTIFICATION = 0
endif
@@ -138,6 +142,7 @@ USB_DESCRIPTOR_ARGS = \
--serial_number_length $(USB_SERIAL_NUMBER_LENGTH)\
--devices $(USB_DEVICES)\
--hid_devices $(USB_HID_DEVICES)\
+ --msc_max_packet_size $(USB_MSC_MAX_PACKET_SIZE)\
--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)\