forked from xuos/xiuos
feat add control_framework, support fins protocol, compile OK
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
config CONTROL_PROTOCOL_MODBUS_TCP
|
||||
bool "Using modbus_tcp control protocol"
|
||||
default n
|
||||
|
||||
config CONTROL_PROTOCOL_MODBUS_UART
|
||||
bool "Using modbus_uart control protocol"
|
||||
default n
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
SRC_DIR := modbus_tcp modbus_uart
|
||||
ifeq ($(CONFIG_CONTROL_PROTOCOL_MODBUS_TCP), y)
|
||||
SRC_DIR := modbus_tcp
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_CONTROL_PROTOCOL_MODBUS_UART), y)
|
||||
SRC_DIR := modbus_uart
|
||||
endif
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user