2016-07-15 21:28:38 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_PTYTEST
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Pseudo Terminal test example"
|
2016-07-15 21:28:38 +02:00
|
|
|
default n
|
2016-07-15 22:09:14 +02:00
|
|
|
depends on PSEUDOTERM
|
|
|
|
select PSEUDOTERM_SUSV1
|
2016-07-15 21:28:38 +02:00
|
|
|
---help---
|
|
|
|
Enable the PTY example
|
|
|
|
|
|
|
|
if EXAMPLES_PTYTEST
|
|
|
|
|
|
|
|
config EXAMPLES_PTYTEST_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "pts"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2016-07-15 21:28:38 +02:00
|
|
|
program is installed.
|
|
|
|
|
2016-07-16 21:46:52 +02:00
|
|
|
config EXAMPLES_PTYTEST_POLL
|
|
|
|
bool "Test poll() with data transfers"
|
|
|
|
default n
|
|
|
|
|
2016-07-16 19:24:54 +02:00
|
|
|
config EXAMPLES_PTYTEST_SERIALDEV
|
|
|
|
string "Test serial device"
|
2016-07-29 21:12:28 +02:00
|
|
|
default "/dev/ttyS1"
|
2016-07-16 19:24:54 +02:00
|
|
|
|
2016-07-15 21:28:38 +02:00
|
|
|
config EXAMPLES_PTYTEST_PRIORITY
|
|
|
|
int "PTY_Test task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_PTYTEST_STACKSIZE
|
|
|
|
int "PTYTest stack size"
|
|
|
|
default 2048
|
|
|
|
|
2017-10-06 23:13:00 +02:00
|
|
|
config EXAMPLES_PTYTEST_DAEMONPRIO
|
2016-07-16 19:24:54 +02:00
|
|
|
int "PTY_Test daemon task priority"
|
|
|
|
default 100
|
|
|
|
|
2016-07-15 21:28:38 +02:00
|
|
|
endif
|