Skip to content

Commit

Permalink
Merge pull request #4384 from dhalbert/disable-default-usb_cdc
Browse files Browse the repository at this point in the history
disable default usb_cdc
  • Loading branch information
dhalbert authored Mar 11, 2021
2 parents 15e97f1 + 5ace7af commit 3b948b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py/circuitpy_mpconfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b948b2

Please sign in to comment.