mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Add path option to spislv_test example Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
36 lines
877 B
Text
36 lines
877 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config EXAMPLES_SPISLV
|
|
tristate "\"SPI Slave Test\" example"
|
|
default n
|
|
---help---
|
|
Enable the "SPI Slave Test" example.
|
|
This tool can be used together with the SPI tool to validate communication between two devices.
|
|
|
|
if EXAMPLES_SPISLV
|
|
|
|
config EXAMPLES_SPISLV_DEFAULT_PATH
|
|
string "Default SPI Slave device path"
|
|
default "/dev/spislv0"
|
|
---help---
|
|
Default path for SPI Slave device
|
|
|
|
config EXAMPLES_SPISLV_PROGNAME
|
|
string "Program name"
|
|
default "spislv"
|
|
---help---
|
|
This is the name of the program that will be used when the NSH ELF
|
|
program is installed.
|
|
|
|
config EXAMPLES_SPISLV_PRIORITY
|
|
int "Spislv task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_SPISLV_STACKSIZE
|
|
int "Spislv stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif
|