use kconfig to add config options

pull/9491/head
paul356 2022-06-19 22:20:15 +08:00 zatwierdzone przez BOT
rodzic 0aa6612371
commit 1144f752f4
1 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -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"