mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
NxModbus is a lightweight Modbus protocol stack implementation for NuttX RTOS. This commit adds: - nxmodbus stack - nxmbserver - Modbus Server (Slave) example - nxmbclient - Modbus Client (Master) tool Supported Modbus transports: - ASCII - RTU over serial port - TCP - RAW (ADU) for custom transport implementations Signed-off-by: raiden00pl <raiden00@railab.me>
32 lines
821 B
Text
32 lines
821 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config SYSTEM_NXMBCLIENT
|
|
tristate "NxModbus Client Tool"
|
|
default n
|
|
depends on NXMODBUS_CLIENT
|
|
---help---
|
|
Enable the NxModbus client command-line tool. This utility allows
|
|
you to perform Modbus client operations from the command line,
|
|
supporting RTU, ASCII, and TCP transports.
|
|
|
|
if SYSTEM_NXMBCLIENT
|
|
|
|
config NXMBCLIENT_PROGNAME
|
|
string "Program name"
|
|
default "nxmbclient"
|
|
---help---
|
|
This is the name of the program that will be used when the NSH ELF
|
|
program is installed.
|
|
|
|
config NXMBCLIENT_PRIORITY
|
|
int "NxModbus client task priority"
|
|
default 100
|
|
|
|
config NXMBCLIENT_STACKSIZE
|
|
int "NxModbus client stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif # SYSTEM_NXMBCLIENT
|