b128399d1e
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>
33 lines
767 B
Makefile
33 lines
767 B
Makefile
USB_VID = 0x1209
|
|
USB_PID = 0xc051
|
|
USB_PRODUCT = "Simmel"
|
|
USB_MANUFACTURER = "Betrusted"
|
|
|
|
MCU_CHIP = nrf52833
|
|
|
|
# SPI_FLASH_FILESYSTEM = 1
|
|
# EXTERNAL_FLASH_DEVICE_COUNT = 1
|
|
# EXTERNAL_FLASH_DEVICES = "MX25R1635F"
|
|
|
|
INTERNAL_FLASH_FILESYSTEM = 1
|
|
|
|
CIRCUITPY_AUDIOMP3 = 0
|
|
CIRCUITPY_BUSIO = 1
|
|
CIRCUITPY_DISPLAYIO = 0
|
|
CIRCUITPY_FRAMEBUFFERIO = 0
|
|
CIRCUITPY_NEOPIXEL_WRITE = 0
|
|
CIRCUITPY_NVM = 0
|
|
CIRCUITPY_PIXELBUF = 0
|
|
CIRCUITPY_RGBMATRIX = 0
|
|
CIRCUITPY_ROTARYIO = 0
|
|
CIRCUITPY_RTC = 1
|
|
CIRCUITPY_TOUCHIO = 0
|
|
CIRCUITPY_ULAB = 0
|
|
|
|
# Enable micropython.native
|
|
#CIRCUITPY_ENABLE_MPY_NATIVE = 1
|
|
|
|
# These defines must be overridden before mpconfigboard.h is included, which is
|
|
# why they are passed on the command line.
|
|
CFLAGS += -DSPIM3_BUFFER_SIZE=0 -DSOFTDEVICE_RAM_SIZE='(32*1024)'
|