diff options
Diffstat (limited to 'apps/modbus/Kconfig')
-rw-r--r-- | apps/modbus/Kconfig | 9 |
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 |