testing/fftest: add Force feedback driver test

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu1 2024-09-08 22:21:29 +08:00 • committed by Xiang Xiao
parent 2f5dc9c24d
commit 433ca0ff89
5 changed files with 557 additions and 0 deletions

24
testing/fftest/Kconfig Normal file
View file

@ -0,0 +1,24 @@
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config TESTING_FF
bool "Force feedback test"
default n
if TESTING_FF
config TESTING_FF_PROGNAME
string "Program name"
default "fftest"
config TESTING_FF_PRIORITY
int "FF driver test task priority"
default 100
config TESTING_FF_STACKSIZE
int "FF driver test stack size"
default DEFAULT_TASK_STACKSIZE
endif