diff options
| author | Kevin Banks <kevin@firia.com> | 2021-01-25 20:37:58 -0600 |
|---|---|---|
| committer | Kevin Banks <kevin@firia.com> | 2021-01-25 20:37:58 -0600 |
| commit | fbfb7b68cce3fbcccc423c1013c0c3cabe6a89d0 (patch) | |
| tree | 4b2dfe8eebef84fc24d1a9225aa5c4fa2b874488 /py | |
| parent | 9ce33a5771cd6061e81aeaf2b1c4361490c36b08 (diff) | |
Most of the code we need has been pulled in from the tinyusb webusb_serial demo. Still LOTS to do regarding descriptors.
Diffstat (limited to 'py')
| -rw-r--r-- | py/circuitpy_defns.mk | 3 | ||||
| -rw-r--r-- | py/circuitpy_mpconfig.mk | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/py/circuitpy_defns.mk b/py/circuitpy_defns.mk index 21bd5b965..5eb7992b1 100644 --- a/py/circuitpy_defns.mk +++ b/py/circuitpy_defns.mk @@ -288,6 +288,9 @@ endif ifeq ($(CIRCUITPY_USB_MIDI),1) SRC_PATTERNS += usb_midi/% endif +ifeq ($(CIRCUITPY_USB_VENDOR),1) +SRC_PATTERNS += usb_vendor/% +endif ifeq ($(CIRCUITPY_USTACK),1) SRC_PATTERNS += ustack/% endif diff --git a/py/circuitpy_mpconfig.mk b/py/circuitpy_mpconfig.mk index d0145a90f..6e721e1bc 100644 --- a/py/circuitpy_mpconfig.mk +++ b/py/circuitpy_mpconfig.mk @@ -270,6 +270,9 @@ CFLAGS += -DCIRCUITPY_USB_HID=$(CIRCUITPY_USB_HID) CIRCUITPY_USB_MIDI ?= 1 CFLAGS += -DCIRCUITPY_USB_MIDI=$(CIRCUITPY_USB_MIDI) +CIRCUITPY_USB_VENDOR ?= 1 +CFLAGS += -DCIRCUITPY_USB_VENDOR=$(CIRCUITPY_USB_VENDOR) + CIRCUITPY_PEW ?= 0 CFLAGS += -DCIRCUITPY_PEW=$(CIRCUITPY_PEW) |
