2016-07-15 13:28:38 -06: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 09:29:56 -06:00
|
|
|
tristate "Pseudo Terminal test example"
|
2016-07-15 13:28:38 -06:00
|
|
|
default n
|
2016-07-15 14:09:14 -06:00
|
|
|
depends on PSEUDOTERM
|
|
|
|
select PSEUDOTERM_SUSV1
|
2016-07-15 13:28:38 -06:00
|
|
|
---help---
|
|
|
|
Enable the PTY example
|
|
|
|
|
|
|
|
if EXAMPLES_PTYTEST
|
|
|
|
|
|
|
|
config EXAMPLES_PTYTEST_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "pts"
|
|
|
|
---help---
|
2019-08-23 11:59:28 -06:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2016-07-15 13:28:38 -06:00
|
|
|
program is installed.
|
|
|
|
|
2016-07-16 13:46:52 -06:00
|
|
|
config EXAMPLES_PTYTEST_POLL
|
|
|
|
bool "Test poll() with data transfers"
|
|
|
|
default n
|
|
|
|
|
2016-07-16 11:24:54 -06:00
|
|
|
config EXAMPLES_PTYTEST_SERIALDEV
|
|
|
|
string "Test serial device"
|
2016-07-29 13:12:28 -06:00
|
|
|
default "/dev/ttyS1"
|
2016-07-16 11:24:54 -06:00
|
|
|
|
2016-07-15 13:28:38 -06:00
|
|
|
config EXAMPLES_PTYTEST_PRIORITY
|
|
|
|
int "PTY_Test task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_PTYTEST_STACKSIZE
|
|
|
|
int "PTYTest stack size"
|
2020-03-27 14:10:33 +09:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2016-07-15 13:28:38 -06:00
|
|
|
|
2017-10-06 15:13:00 -06:00
|
|
|
config EXAMPLES_PTYTEST_DAEMONPRIO
|
2016-07-16 11:24:54 -06:00
|
|
|
int "PTY_Test daemon task priority"
|
|
|
|
default 100
|
|
|
|
|
2020-06-15 12:27:13 -03:00
|
|
|
config EXAMPLES_PTYTEST_WAIT_CONNECTED
|
|
|
|
bool "Keep retrying open serial device"
|
|
|
|
---help---
|
|
|
|
For USB based serial devices, open will fail
|
|
|
|
if the other end is not connected (USB cable unplugged).
|
|
|
|
Enabling this option will retry the open() call every second
|
|
|
|
until connected.
|
|
|
|
|
2016-07-15 13:28:38 -06:00
|
|
|
endif
|