stm: Disable USB MIDI and most USB HID

.. it was not in the USB descriptors anyway (lack of enough endpoints?)
This commit is contained in:
Jeff Epler 2020-06-23 11:01:08 -05:00
parent 3f112d28e3
commit 0110463811
2 changed files with 8 additions and 0 deletions

View File

@ -17,3 +17,5 @@ MCU_PACKAGE = LQFP144
LD_COMMON = boards/common_default.ld
LD_FILE = boards/STM32F412_fs.ld
CIRCUITPY_USB_HID = 1

View File

@ -21,6 +21,8 @@ ifeq ($(MCU_SERIES),F4)
ifndef CIRCUITPY_NVM
CIRCUITPY_NVM = 0
endif
CIRCUITPY_USB_MIDI ?= 0
CIRCUITPY_USB_HID ?= 0
endif
ifeq ($(MCU_SERIES),H7)
@ -36,6 +38,8 @@ ifeq ($(MCU_SERIES),H7)
CIRCUITPY_RTC = 0
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_I2CSLAVE = 0
CIRCUITPY_USB_MIDI ?= 0
CIRCUITPY_USB_HID ?= 0
endif
ifeq ($(MCU_SERIES),F7)
@ -50,4 +54,6 @@ ifeq ($(MCU_SERIES),F7)
CIRCUITPY_RTC = 0
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_I2CSLAVE = 0
CIRCUITPY_USB_MIDI ?= 0
CIRCUITPY_USB_HID ?= 0
endif