summaryrefslogtreecommitdiff
path: root/apps/modbus/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-22 17:41:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-22 17:41:19 +0000
commit60375dcc5d9c24b5919f66f63ac70879e653c350 (patch)
tree5d5734278407c48ed17c0a8e0e951d45ee24ec1e /apps/modbus/Kconfig
parent107fe46fc6359ec1b5169c960fa8bd4fc619b23b (diff)
downloadpx4-nuttx-60375dcc5d9c24b5919f66f63ac70879e653c350.tar.gz
px4-nuttx-60375dcc5d9c24b5919f66f63ac70879e653c350.tar.bz2
px4-nuttx-60375dcc5d9c24b5919f66f63ac70879e653c350.zip
Don't use strerror in apps/modbus; Add CONFIG_MB_TERMIOS to enable/suppress use of termios.h interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4968 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/modbus/Kconfig')
-rw-r--r--apps/modbus/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/modbus/Kconfig b/apps/modbus/Kconfig
index da95abf6a..d4c93fdae 100644
--- a/apps/modbus/Kconfig
+++ b/apps/modbus/Kconfig
@@ -24,6 +24,15 @@ config MB_TCP_ENABLED
depends on MODBUS
default y
+config MB_TERMIOS
+ bool "Driver TERMIOS supported"
+ depends on MB_ASCII_ENABLED || MB_RTU_ENABLED
+ default n
+ ---help---
+ 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
int "Character timeout"
depends on MB_ASCII_ENABLED