Skip to content

Commit 3b948b2

Browse files
authored
Merge pull request #4384 from dhalbert/disable-default-usb_cdc
disable default usb_cdc
2 parents 15e97f1 + 5ace7af commit 3b948b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

py/circuitpy_mpconfig.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,10 @@ CFLAGS += -DCIRCUITPY_TOUCHIO=$(CIRCUITPY_TOUCHIO)
322322
CIRCUITPY_UHEAP ?= 0
323323
CFLAGS += -DCIRCUITPY_UHEAP=$(CIRCUITPY_UHEAP)
324324

325+
# Disable by default for now, until we have dynamic enabling.
326+
CIRCUITPY_USB_CDC ?= 0
325327
# Secondary CDC is usually available if there are at least 8 endpoints.
326-
CIRCUITPY_USB_CDC ?= $(shell expr $(USB_NUM_EP) '>=' 8)
328+
#CIRCUITPY_USB_CDC ?= $(shell expr $(USB_NUM_EP) '>=' 8)
327329
CFLAGS += -DCIRCUITPY_USB_CDC=$(CIRCUITPY_USB_CDC)
328330

329331
CIRCUITPY_USB_HID ?= 1

0 commit comments

Comments
 (0)