summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2020-05-04 15:37:53 +0800
committerSean Cross <sean@xobs.io>2020-05-04 15:37:53 +0800
commitb128399d1eeb529767bf5478e5db49ff45fb1279 (patch)
treee2af0521647daccf148e336f6af815c8657118c0
parent242063e1d0bb34e0eaa1c91ba8247c93c69ab1e7 (diff)
nrf: simmel: enable CIRCUITPY_USB_HID
Simmel had USB HID disabled in order to save space. However, the board configuration did not set USB_DEVICES, causing it to inherit the default device bouquet of MSC,CDC,MIDI,HID. This in turn caused HID to be included in the USB Configuration Descriptor. For some reason, this was not a problem in an earlier version of tinyusb or circuitpython. However, in the most recent version this has rightfully caused asserts to appear during configuration. Re-enable USB_HID for now, as it doesn't add too much in terms of space. We may disable it again later on if we become pressed for space. Signed-off-by: Sean Cross <sean@xobs.io>
-rw-r--r--ports/nrf/boards/simmel/mpconfigboard.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/nrf/boards/simmel/mpconfigboard.mk b/ports/nrf/boards/simmel/mpconfigboard.mk
index 342d1ca39..e71ada1de 100644
--- a/ports/nrf/boards/simmel/mpconfigboard.mk
+++ b/ports/nrf/boards/simmel/mpconfigboard.mk
@@ -23,7 +23,6 @@ CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 1
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_ULAB = 0
-CIRCUITPY_USB_HID = 0
# Enable micropython.native
#CIRCUITPY_ENABLE_MPY_NATIVE = 1