mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 04:13:34 +08:00
Don't use strerror in apps/modbus; Add CONFIG_MB_TERMIOS to enable/suppress use of termios.h interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4968 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -60,6 +60,10 @@ The NuttX-named configuration options that are available include:
|
||||
CONFIG_MB_ASCII_ENABLED - Modbus ASCII support
|
||||
CONFIG_MB_RTU_ENABLED - Modbus RTU support
|
||||
CONFIG_MB_TCP_ENABLED - Modbus TCP support
|
||||
CONFIG_MB_TERMIOS - Serial driver supports termios.h interfaces (tcsetattr,
|
||||
tcflush, etc.). If this is not defined, then the terminal settings (baud,
|
||||
parity, etc.) are not configurable at runtime; serial streams will not be
|
||||
flushed when closed.
|
||||
CONFIG_MB_ASCII_TIMEOUT_SEC - Character timeout value for Modbus ASCII. The
|
||||
character timeout value is not fixed for Modbus ASCII and is therefore
|
||||
a configuration option. It should be set to the maximum expected delay
|
||||
|
||||
Reference in New Issue
Block a user