summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2021-03-11 12:46:15 -0500
committerGitHub <noreply@github.com>2021-03-11 12:46:15 -0500
commit3b948b244e5e2e71c0ac3f26ffd33ea0a6caf444 (patch)
treee3b5211b02fb577b40773632af358104facdd58c
parent15e97f12a1be8b2aa625b59d127b6d1db530a18b (diff)
parent5ace7af933f7ebc3c43c0a27385ada4de068d149 (diff)
Merge pull request #4384 from dhalbert/disable-default-usb_cdc
disable default usb_cdc
-rw-r--r--py/circuitpy_mpconfig.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/py/circuitpy_mpconfig.mk b/py/circuitpy_mpconfig.mk
index 496ce918b..fea1f937e 100644
--- a/py/circuitpy_mpconfig.mk
+++ b/py/circuitpy_mpconfig.mk
@@ -322,8 +322,10 @@ CFLAGS += -DCIRCUITPY_TOUCHIO=$(CIRCUITPY_TOUCHIO)
CIRCUITPY_UHEAP ?= 0
CFLAGS += -DCIRCUITPY_UHEAP=$(CIRCUITPY_UHEAP)
+# Disable by default for now, until we have dynamic enabling.
+CIRCUITPY_USB_CDC ?= 0
# Secondary CDC is usually available if there are at least 8 endpoints.
-CIRCUITPY_USB_CDC ?= $(shell expr $(USB_NUM_EP) '>=' 8)
+#CIRCUITPY_USB_CDC ?= $(shell expr $(USB_NUM_EP) '>=' 8)
CFLAGS += -DCIRCUITPY_USB_CDC=$(CIRCUITPY_USB_CDC)
CIRCUITPY_USB_HID ?= 1