diff options
| author | Dan Halbert <halbert@halwitz.org> | 2021-03-11 11:06:00 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2021-03-11 11:20:29 -0500 |
| commit | 5ace7af933f7ebc3c43c0a27385ada4de068d149 (patch) | |
| tree | e3b5211b02fb577b40773632af358104facdd58c /py | |
| parent | 15e97f12a1be8b2aa625b59d127b6d1db530a18b (diff) | |
disable default usb_cdc
Diffstat (limited to 'py')
| -rw-r--r-- | py/circuitpy_mpconfig.mk | 4 |
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 |
