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:
parent
3f112d28e3
commit
0110463811
@ -17,3 +17,5 @@ MCU_PACKAGE = LQFP144
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F412_fs.ld
|
LD_FILE = boards/STM32F412_fs.ld
|
||||||
|
|
||||||
|
CIRCUITPY_USB_HID = 1
|
||||||
|
@ -21,6 +21,8 @@ ifeq ($(MCU_SERIES),F4)
|
|||||||
ifndef CIRCUITPY_NVM
|
ifndef CIRCUITPY_NVM
|
||||||
CIRCUITPY_NVM = 0
|
CIRCUITPY_NVM = 0
|
||||||
endif
|
endif
|
||||||
|
CIRCUITPY_USB_MIDI ?= 0
|
||||||
|
CIRCUITPY_USB_HID ?= 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(MCU_SERIES),H7)
|
ifeq ($(MCU_SERIES),H7)
|
||||||
@ -36,6 +38,8 @@ ifeq ($(MCU_SERIES),H7)
|
|||||||
CIRCUITPY_RTC = 0
|
CIRCUITPY_RTC = 0
|
||||||
CIRCUITPY_FREQUENCYIO = 0
|
CIRCUITPY_FREQUENCYIO = 0
|
||||||
CIRCUITPY_I2CSLAVE = 0
|
CIRCUITPY_I2CSLAVE = 0
|
||||||
|
CIRCUITPY_USB_MIDI ?= 0
|
||||||
|
CIRCUITPY_USB_HID ?= 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(MCU_SERIES),F7)
|
ifeq ($(MCU_SERIES),F7)
|
||||||
@ -50,4 +54,6 @@ ifeq ($(MCU_SERIES),F7)
|
|||||||
CIRCUITPY_RTC = 0
|
CIRCUITPY_RTC = 0
|
||||||
CIRCUITPY_FREQUENCYIO = 0
|
CIRCUITPY_FREQUENCYIO = 0
|
||||||
CIRCUITPY_I2CSLAVE = 0
|
CIRCUITPY_I2CSLAVE = 0
|
||||||
|
CIRCUITPY_USB_MIDI ?= 0
|
||||||
|
CIRCUITPY_USB_HID ?= 0
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user