feat support lorawan_devicenode submodule

This commit is contained in:
Liu_Weichao
2023-03-31 14:14:54 +08:00
parent 58057e0b5e
commit 95b049e636
5 changed files with 23 additions and 2 deletions

View File

@@ -5,6 +5,15 @@ menuconfig LIB_USING_LORAWAN
default n
if LIB_USING_LORAWAN
menuconfig LIB_USING_LORAWAN_ED_STACK
bool "LoRaWan using lorawan_ed_stack lib"
default n
select LIB_USING_LORA_RADIO
if LIB_USING_LORAWAN_ED_STACK
source "$APP_DIR/lib/lorawan/lorawan_devicenode/Kconfig"
endif
menuconfig LIB_USING_LORA_RADIO
bool "LoRaWan using lora-radio-driver lib"
default n

View File

@@ -4,4 +4,8 @@ ifeq ($(CONFIG_LIB_USING_LORA_RADIO),y)
SRC_DIR += lora_radio_driver
endif
ifeq ($(CONFIG_LIB_USING_LORAWAN_ED_STACK),y)
SRC_DIR += lorawan_devicenode
endif
include $(KERNEL_ROOT)/compiler.mk