Browse Source

1、add Framework/connection/industrial_ethernet DIR; 2、add Framework/connection/industrial_fieldbus DIR; 3、add Framework/connection/industrial_wlan DIR from Liu Weichao

it is OK
pull/120/head
xuedongliang 8 months ago
parent
commit
7ecf1af00f
  1. 21
      APP_Framework/Framework/connection/Kconfig
  2. 12
      APP_Framework/Framework/connection/Makefile
  3. 0
      APP_Framework/Framework/connection/industrial_ethernet/Kconfig
  4. 2
      APP_Framework/Framework/connection/industrial_ethernet/Makefile
  5. 0
      APP_Framework/Framework/connection/industrial_fieldbus/Kconfig
  6. 2
      APP_Framework/Framework/connection/industrial_fieldbus/Makefile
  7. 0
      APP_Framework/Framework/connection/industrial_wlan/Kconfig
  8. 2
      APP_Framework/Framework/connection/industrial_wlan/Makefile

21
APP_Framework/Framework/connection/Kconfig

@ -8,6 +8,27 @@ if SUPPORT_CONNECTION_FRAMEWORK
bool "Using connection framework debug log function"
default y
menuconfig CONNECTION_INDUSTRIAL_ETHERNET
bool "Using industrial ethernet"
default n
if CONNECTION_INDUSTRIAL_ETHERNET
source "$APP_DIR/Framework/connection/industrial_ethernet/Kconfig"
endif
menuconfig CONNECTION_INDUSTRIAL_FIELDBUS
bool "Using industrial fieldbus"
default n
if CONNECTION_INDUSTRIAL_FIELDBUS
source "$APP_DIR/Framework/connection/industrial_fieldbus/Kconfig"
endif
menuconfig CONNECTION_INDUSTRIAL_WLAN
bool "Using industrial wlan"
default n
if CONNECTION_INDUSTRIAL_WLAN
source "$APP_DIR/Framework/connection/industrial_wlan/Kconfig"
endif
menuconfig CONNECTION_ADAPTER_LORA
bool "Using lora adapter device"
default n

12
APP_Framework/Framework/connection/Makefile

@ -1,5 +1,17 @@
SRC_FILES := adapter.c adapter_agent.c
ifeq ($(CONFIG_CONNECTION_INDUSTRIAL_ETHERNET),y)
SRC_DIR += industrial_ethernet
endif
ifeq ($(CONFIG_CONNECTION_INDUSTRIAL_FIELDBUS),y)
SRC_DIR += industrial_fieldbus
endif
ifeq ($(CONFIG_CONNECTION_INDUSTRIAL_WLAN),y)
SRC_DIR += industrial_wlan
endif
ifeq ($(CONFIG_CONNECTION_ADAPTER_LORA),y)
SRC_DIR += lora
endif

0
APP_Framework/Framework/connection/industrial_ethernet/Kconfig

2
APP_Framework/Framework/connection/industrial_ethernet/Makefile

@ -0,0 +1,2 @@
include $(KERNEL_ROOT)/compiler.mk

0
APP_Framework/Framework/connection/industrial_fieldbus/Kconfig

2
APP_Framework/Framework/connection/industrial_fieldbus/Makefile

@ -0,0 +1,2 @@
include $(KERNEL_ROOT)/compiler.mk

0
APP_Framework/Framework/connection/industrial_wlan/Kconfig

2
APP_Framework/Framework/connection/industrial_wlan/Makefile

@ -0,0 +1,2 @@
include $(KERNEL_ROOT)/compiler.mk
Loading…
Cancel
Save