From fbfb7b68cce3fbcccc423c1013c0c3cabe6a89d0 Mon Sep 17 00:00:00 2001 From: Kevin Banks Date: Mon, 25 Jan 2021 20:37:58 -0600 Subject: Most of the code we need has been pulled in from the tinyusb webusb_serial demo. Still LOTS to do regarding descriptors. --- py/circuitpy_mpconfig.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'py/circuitpy_mpconfig.mk') 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) -- cgit v1.2.3 From b152c658e2538f2e2cb6c760c4b4dab6bb6cf357 Mon Sep 17 00:00:00 2001 From: Kevin Banks Date: Tue, 26 Jan 2021 18:18:39 -0600 Subject: Making WebUSB default to off (build unbreakage, caught by CI) --- py/circuitpy_mpconfig.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'py/circuitpy_mpconfig.mk') diff --git a/py/circuitpy_mpconfig.mk b/py/circuitpy_mpconfig.mk index 6e721e1bc..538d50e94 100644 --- a/py/circuitpy_mpconfig.mk +++ b/py/circuitpy_mpconfig.mk @@ -270,7 +270,10 @@ CFLAGS += -DCIRCUITPY_USB_HID=$(CIRCUITPY_USB_HID) CIRCUITPY_USB_MIDI ?= 1 CFLAGS += -DCIRCUITPY_USB_MIDI=$(CIRCUITPY_USB_MIDI) -CIRCUITPY_USB_VENDOR ?= 1 +# Defaulting this to OFF initially because it has only been tested on a +# limited number of platforms, and the other platforms do not have this +# setting in their mpconfigport.mk and/or mpconfigboard.mk files yet. +CIRCUITPY_USB_VENDOR ?= 0 CFLAGS += -DCIRCUITPY_USB_VENDOR=$(CIRCUITPY_USB_VENDOR) CIRCUITPY_PEW ?= 0 -- cgit v1.2.3