rt-thread/components/net/freemodbus/Kconfig

28 lines
767 B
Plaintext
Raw Normal View History

2017-04-14 13:39:28 +08:00
menu "Modbus master and slave stack"
config RT_USING_MODBUS
2018-07-18 11:05:39 +08:00
bool "Enable Modbus stack"
default n
2017-04-14 13:39:28 +08:00
2018-07-18 11:05:39 +08:00
if RT_USING_MODBUS
config RT_MODBUS_MASTER_RTU
bool "RTU master mode"
default n
2017-04-14 13:39:28 +08:00
2018-07-18 11:05:39 +08:00
config RT_MODBUS_SLAVE_RTU
bool "RTU slave mode"
default n
if RT_MODBUS_SLAVE_RTU
config RT_MODBUS_SLAVE_USE_CONTROL_PIN
bool "Use Contorl Pin"
default n
if RT_MODBUS_SLAVE_USE_CONTROL_PIN
config MODBUS_SLAVE_RT_CONTROL_PIN_INDEX
int "pin index for RS485 TX/RX select"
default 10
endif
endif
2018-07-18 11:05:39 +08:00
endif
2017-04-14 13:39:28 +08:00
endmenu