zhangshoukui d404b846f9 examples: Add depends on
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2025-01-03 21:28:20 +08:00

38 lines
883 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_XBC_TEST
tristate "XBox Controller Test example"
default n
depends on USBHOST
depends on !USBHOST_INT_DISABLE
---help---
Enable the XBox Controller Test example
if EXAMPLES_XBC_TEST
config EXAMPLES_XBC_TEST_PROGNAME
string "Program name"
default "xbc_test"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config EXAMPLES_XBC_DEVNAME
string "XBox Controller Device Name"
default "/dev/xboxa"
---help---
Name of XBox controller device to be used. Default: "/dev/xboxa"
config EXAMPLES_XBC_TEST_PRIORITY
int "Xbc_test task priority"
default 100
config EXAMPLES_XBC_TEST_STACKSIZE
int "XBox Controller Test stack size"
default DEFAULT_TASK_STACKSIZE
endif