forked from xuos/xiuos
modify lora_radio_driver path and compile OK
This commit is contained in:
@@ -9,8 +9,9 @@ menu "lib"
|
||||
config APP_SELECT_OTHER_LIB
|
||||
bool "app select other lib"
|
||||
endchoice
|
||||
source "$APP_DIR/lib/cJSON/Kconfig"
|
||||
source "$APP_DIR/lib/queue/Kconfig"
|
||||
source "$APP_DIR/lib/lvgl/Kconfig"
|
||||
source "$APP_DIR/lib/embedded_database/Kconfig"
|
||||
source "$APP_DIR/lib/cJSON/Kconfig"
|
||||
source "$APP_DIR/lib/queue/Kconfig"
|
||||
source "$APP_DIR/lib/lvgl/Kconfig"
|
||||
source "$APP_DIR/lib/embedded_database/Kconfig"
|
||||
source "$APP_DIR/lib/lorawan/Kconfig"
|
||||
endmenu
|
||||
|
||||
@@ -14,4 +14,8 @@ ifeq ($(CONFIG_LIB_USING_CJSON),y)
|
||||
SRC_DIR += cJSON
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LIB_USING_LORAWAN),y)
|
||||
SRC_DIR += lorawan
|
||||
endif
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
menuconfig LIB_USING_CJSON
|
||||
bool "USING cJSON"
|
||||
default n
|
||||
menu "lib using cJSON"
|
||||
menuconfig LIB_USING_CJSON
|
||||
bool "USING cJSON"
|
||||
default n
|
||||
endmenu
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
menuconfig USING_EMBEDDED_DATABASE
|
||||
bool "embedded database"
|
||||
default n
|
||||
if USING_EMBEDDED_DATABASE
|
||||
source "$APP_DIR/lib/embedded_database/flashdb/Kconfig"
|
||||
endif
|
||||
menu "lib using embedded_database"
|
||||
|
||||
menuconfig USING_EMBEDDED_DATABASE
|
||||
bool "embedded database"
|
||||
default n
|
||||
if USING_EMBEDDED_DATABASE
|
||||
source "$APP_DIR/lib/embedded_database/flashdb/Kconfig"
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
Submodule APP_Framework/lib/lora_radio_driver deleted from 8dec1f0d86
17
APP_Framework/lib/lorawan/Kconfig
Normal file
17
APP_Framework/lib/lorawan/Kconfig
Normal file
@@ -0,0 +1,17 @@
|
||||
menu "lib using LoRaWan"
|
||||
|
||||
menuconfig LIB_USING_LORAWAN
|
||||
bool "Using LoRaWan lib"
|
||||
default n
|
||||
|
||||
if LIB_USING_LORAWAN
|
||||
menuconfig LIB_USING_LORA_RADIO
|
||||
bool "LoRaWan using lora-radio-driver lib"
|
||||
default n
|
||||
|
||||
if LIB_USING_LORA_RADIO
|
||||
source "$APP_DIR/lib/lorawan/lora_radio_driver/Kconfig"
|
||||
endif
|
||||
endif
|
||||
|
||||
endmenu
|
||||
7
APP_Framework/lib/lorawan/Makefile
Normal file
7
APP_Framework/lib/lorawan/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
SRC_DIR :=
|
||||
|
||||
ifeq ($(CONFIG_LIB_USING_LORA_RADIO),y)
|
||||
SRC_DIR += lora_radio_driver
|
||||
endif
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
1
APP_Framework/lib/lorawan/lora_radio_driver
Submodule
1
APP_Framework/lib/lorawan/lora_radio_driver
Submodule
Submodule APP_Framework/lib/lorawan/lora_radio_driver added at a400879b13
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,7 @@
|
||||
menuconfig LIB_USING_QUEUE
|
||||
bool "USING QUEUE"
|
||||
default n
|
||||
menu "lib using queue"
|
||||
|
||||
menuconfig LIB_USING_QUEUE
|
||||
bool "USING QUEUE"
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user