2017-04-03 17:25:49 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_USRSOCKTEST
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "USRSOCK test example"
|
2017-04-03 17:25:49 +02:00
|
|
|
default n
|
|
|
|
depends on NET && NET_USRSOCK && !DISABLE_POLL
|
|
|
|
select NET_USRSOCK_TCP
|
|
|
|
select NET_USRSOCK_UDP
|
|
|
|
select NET_SOCKOPTS
|
|
|
|
select PIPES
|
|
|
|
---help---
|
|
|
|
Enable the User Socket test example. This example application runs
|
|
|
|
unit-tests for /dev/usrsock.
|
|
|
|
|
|
|
|
if EXAMPLES_USRSOCKTEST
|
|
|
|
|
|
|
|
config EXAMPLES_USRSOCKTEST_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "usrsocktest"
|
2018-08-23 19:06:15 +02:00
|
|
|
depends on BUILD_LOADABLE
|
2017-04-03 17:25:49 +02:00
|
|
|
---help---
|
|
|
|
This is the name of the program that will be use when the NSH ELF
|
|
|
|
program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_USRSOCKTEST_PRIORITY
|
|
|
|
int "usrsocktest task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_USRSOCKTEST_STACKSIZE
|
|
|
|
int "usrsocktest stack size"
|
|
|
|
default 4096
|
|
|
|
|
|
|
|
endif
|