use kconfig to add config options

This commit is contained in:
paul356
2022-06-19 22:20:15 +08:00
committed by BOT
parent 0aa6612371
commit 1144f752f4

View File

@@ -175,6 +175,21 @@ menu "TinyUSB Stack"
help
Enable TinyUSB MIDI feature.
endmenu # "MIDI"
menu "Human Interface Device Class (HID)"
config TINYUSB_HID_ENABLED
bool "Enable TinyUSB HID feature"
default n
help
Enable TinyUSB HID feature.
config TINYUSB_HID_BUFSIZE
depends on TINYUSB_HID_ENABLED
int "Report buffer size of TinyUSB HID device"
default 16
help
Set TinyUSB HID device report buffer size.
endmenu # "HID Device Class (HID)"
endif # TINYUSB
endmenu # "TinyUSB Stack"