summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorKevin Banks <kevin@firia.com>2021-02-01 19:08:56 -0600
committerKevin Banks <kevin@firia.com>2021-02-01 19:08:56 -0600
commite79283932ddaac4dd1cc663ff90f76080c18551f (patch)
treea0129eea2ca1e86f2c2b212ef61fb1657882e130 /ports
parent1a9e4f5613d663d6bff29d21f5ff64bf653e56cc (diff)
Moving control of USB compile-time options down to the BOARD level
Diffstat (limited to 'ports')
-rw-r--r--ports/esp32s2/boards/espressif_kaluga_1/mpconfigboard.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/esp32s2/boards/espressif_kaluga_1/mpconfigboard.mk b/ports/esp32s2/boards/espressif_kaluga_1/mpconfigboard.mk
index 2dce03881..52c63cb9c 100644
--- a/ports/esp32s2/boards/espressif_kaluga_1/mpconfigboard.mk
+++ b/ports/esp32s2/boards/espressif_kaluga_1/mpconfigboard.mk
@@ -14,4 +14,10 @@ CIRCUITPY_ESP_FLASH_MODE=dio
CIRCUITPY_ESP_FLASH_FREQ=80m
CIRCUITPY_ESP_FLASH_SIZE=4MB
+# We only have enough endpoints available in hardware to
+# enable ONE of these at a time.
+CIRCUITPY_USB_MIDI = 1
+CIRCUITPY_USB_HID = 0
+CIRCUITPY_USB_VENDOR = 0
+
CIRCUITPY_MODULE=wrover