blob: 428f49c5e54afa52a3d9977395928dc3487924cd [file]
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_NXMBSERVER
tristate "NxModbus Server Example"
default n
depends on NXMODBUS_SERVER
---help---
Enable the NxModbus server example. This example demonstrates
how to create a Modbus server (slave) that responds to client
requests. Supports RTU, ASCII, and TCP transports with simulated
register data.
if EXAMPLES_NXMBSERVER
config EXAMPLES_NXMBSERVER_PROGNAME
string "Program name"
default "nxmbserver"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config EXAMPLES_NXMBSERVER_PRIORITY
int "NxModbus server task priority"
default 100
config EXAMPLES_NXMBSERVER_STACKSIZE
int "NxModbus server stack size"
default DEFAULT_TASK_STACKSIZE
endif # EXAMPLES_NXMBSERVER