forked from xuos/xiuos
modify lora_radio_driver path and compile OK
This commit is contained in:
parent
a4eec2646d
commit
47cea831ba
|
@ -22,6 +22,6 @@
|
|||
[submodule "Ubiquitous/RT-Thread_Fusion_XiUOS/aiit_board/xidatong-riscv64/kendryte-sdk/kendryte-sdk-source"]
|
||||
path = Ubiquitous/RT-Thread_Fusion_XiUOS/aiit_board/xidatong-riscv64/kendryte-sdk/kendryte-sdk-source
|
||||
url = https://code.gitlink.org.cn/chunyexixiaoyu/kendryte-sdk-source.git
|
||||
[submodule "APP_Framework/lib/lora_radio_driver"]
|
||||
path = APP_Framework/lib/lora_radio_driver
|
||||
[submodule "APP_Framework/lib/lorawan/lora_radio_driver"]
|
||||
path = APP_Framework/lib/lorawan/lora_radio_driver
|
||||
url = https://gitlink.org.cn/IACU/lora_radio_driver.git
|
||||
|
|
|
@ -13,4 +13,5 @@ menu "lib"
|
|||
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 @@
|
|||
menu "lib using cJSON"
|
||||
menuconfig LIB_USING_CJSON
|
||||
bool "USING cJSON"
|
||||
default n
|
||||
endmenu
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
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
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 8dec1f0d86f73c898fa9bad58f3478afe9d5cba6
|
|
@ -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
|
|
@ -0,0 +1,7 @@
|
|||
SRC_DIR :=
|
||||
|
||||
ifeq ($(CONFIG_LIB_USING_LORA_RADIO),y)
|
||||
SRC_DIR += lora_radio_driver
|
||||
endif
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a400879b133bdce5051f7a550a4a05bfdbceb26c
|
|
@ -1,13 +1,15 @@
|
|||
# Kconfig file for LVGL v8.0
|
||||
menu "lib using LVGL"
|
||||
|
||||
menuconfig LIB_LV
|
||||
bool "Enable LittleVGL "
|
||||
default n
|
||||
|
||||
menu "LVGL configuration"
|
||||
if LIB_LV
|
||||
config LV_CONF_MINIMAL
|
||||
bool "LVGL minimal configuration."
|
||||
default n
|
||||
endmenu
|
||||
endif
|
||||
|
||||
if 0
|
||||
menu "LVGL configuration"
|
||||
|
@ -864,3 +866,5 @@ if 0
|
|||
|
||||
endmenu
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
menu "lib using queue"
|
||||
|
||||
menuconfig LIB_USING_QUEUE
|
||||
bool "USING QUEUE"
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -512,11 +512,21 @@ KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/Framework/control/plc_protoc
|
|||
KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/Framework/control/plc_protocol/s7 #
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(CONFIG_LIB_USING_CJSON), y)
|
||||
KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/lib/cJSON
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LIB_USING_LORAWAN), y)
|
||||
ifeq ($(CONFIG_LIB_USING_LORA_RADIO), y)
|
||||
KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/lib/lorawan/lora_radio_driver/lora-radio/common #
|
||||
KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/lib/lorawan/lora_radio_driver/lora-radio/include #
|
||||
KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/lib/lorawan/lora_radio_driver/lora-radio/sx126x #
|
||||
KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/lib/lorawan/lora_radio_driver/lora-radio/sx127x #
|
||||
KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/lib/lorawan/lora_radio_driver/ports/lora-module/inc #
|
||||
KERNELPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/lib/lorawan/lora_radio_driver/ports/samples/lora-radio-tester #
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_CRYPTO), y)
|
||||
KERNELPATHS += -I$(KERNEL_ROOT)/framework/security/crypto/include #
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue