Skip to content

Commit bf460dd

Browse files
authored
supervisor.mk: Conditionally assign USB_DEVICES
This restores the ability to remove CDC and/or MSC, at the price of giving up the new automatic check that USB_DEVICES is correct. Since devices have to have CDC and MSC to be "CircuitPython", this is not a facility that is going to be used by any in-tree drivers.
1 parent f232aef commit bf460dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/supervisor.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ endif
122122
ifeq ($(CIRCUITPY_USB_HID),1)
123123
USB_DEVICES_COMPUTED := $(USB_DEVICES_COMPUTED),HID
124124
endif
125-
USB_DEVICES := "$(USB_DEVICES_COMPUTED)"
125+
USB_DEVICES ?= "$(USB_DEVICES_COMPUTED)"
126126

127127
ifndef USB_HID_DEVICES
128128
USB_HID_DEVICES = "KEYBOARD,MOUSE,CONSUMER,GAMEPAD"

0 commit comments

Comments
 (0)