2015-01-28 21:28:11 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2015-01-28 21:28:11 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Unix domain datagram example"
|
2015-01-28 21:28:11 +01:00
|
|
|
default n
|
|
|
|
depends on NET_LOCAL
|
|
|
|
---help---
|
|
|
|
Enable the Unix domain SOCK_DGRAM test example
|
|
|
|
|
|
|
|
if EXAMPLES_UDGRAM
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM_ADDR
|
|
|
|
string "Unix domain address"
|
2015-01-30 16:07:22 +01:00
|
|
|
default "/dev/fifo"
|
2015-01-28 21:28:11 +01:00
|
|
|
|
2015-01-29 16:33:06 +01:00
|
|
|
config EXAMPLES_UDGRAM_SERVER_APPNAME
|
|
|
|
string "Server executable name"
|
|
|
|
default "server"
|
|
|
|
depends on NSH_BUILTIN_APPS
|
|
|
|
---help---
|
|
|
|
This is the name of the built-in server application
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM_SERVER_STACKSIZE
|
|
|
|
int "Server stack size"
|
|
|
|
default 4096
|
|
|
|
depends on NSH_BUILTIN_APPS
|
|
|
|
---help---
|
|
|
|
This is the stack size allocated when the server task runs
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM_SERVER_PRIORITY
|
|
|
|
int "Server task priority"
|
|
|
|
default 100
|
|
|
|
depends on NSH_BUILTIN_APPS
|
|
|
|
---help---
|
|
|
|
This is the priority of the server task
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM_SERVER_PROGNAME
|
|
|
|
string "Server program name"
|
|
|
|
default "server"
|
2018-08-23 19:06:15 +02:00
|
|
|
depends on BUILD_LOADABLE
|
2015-01-29 16:33:06 +01:00
|
|
|
---help---
|
|
|
|
This is the name of the program that will be use when the NSH ELF
|
|
|
|
server program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM_CLIENT_APPNAME
|
|
|
|
string "Client executable name"
|
|
|
|
default "client"
|
|
|
|
depends on NSH_BUILTIN_APPS
|
|
|
|
---help---
|
|
|
|
This is the name of the built-in client application
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM_CLIENT_STACKSIZE
|
|
|
|
int "Client stack size"
|
|
|
|
default 4096
|
|
|
|
depends on NSH_BUILTIN_APPS
|
|
|
|
---help---
|
|
|
|
This is the stack size allocated when the client task runs
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM_CLIENT_PRIORITY
|
|
|
|
int "Client task priority"
|
|
|
|
default 100
|
|
|
|
depends on NSH_BUILTIN_APPS
|
|
|
|
---help---
|
|
|
|
This is the priority of the client task
|
|
|
|
|
|
|
|
config EXAMPLES_UDGRAM_CLIENT_PROGNAME
|
|
|
|
string "Client program name"
|
|
|
|
default "client"
|
2018-08-23 19:06:15 +02:00
|
|
|
depends on BUILD_LOADABLE
|
2015-01-29 16:33:06 +01:00
|
|
|
---help---
|
|
|
|
This is the name of the program that will be use when the NSH ELF
|
|
|
|
client program is installed.
|
|
|
|
|
|
|
|
|
2015-01-28 21:28:11 +01:00
|
|
|
endif # EXAMPLES_UDGRAM
|