提交 c8ae11c4 编写于 作者: armink_ztl's avatar armink_ztl

[Modbus] Add KConfig for Modbus.

上级 be18a1d0
...@@ -122,4 +122,6 @@ config RT_USING_LWIP ...@@ -122,4 +122,6 @@ config RT_USING_LWIP
endmenu endmenu
source "$RTT_DIR/components/net/freemodbus/KConfig"
endmenu endmenu
menu "Modbus master and slave stack"
config RT_USING_MODBUS
bool "Enable Modbus stack"
default n
if RT_USING_MODBUS
config RT_MODBUS_MASTER_RTU
bool "RTU master mode"
default n
config RT_MODBUS_SLAVE_RTU
bool "RTU slave mode"
default n
endif
endmenu
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册