drivers: Add basic LoRa driver support
Add basic driver support for LoRa. Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
This commit is contained in:
parent
92b2994335
commit
5cb5cc0e66
4 changed files with 30 additions and 0 deletions
|
@ -37,6 +37,7 @@ add_subdirectory_if_kconfig(ps2)
|
||||||
add_subdirectory_if_kconfig(kscan)
|
add_subdirectory_if_kconfig(kscan)
|
||||||
add_subdirectory_if_kconfig(video)
|
add_subdirectory_if_kconfig(video)
|
||||||
add_subdirectory_if_kconfig(eeprom)
|
add_subdirectory_if_kconfig(eeprom)
|
||||||
|
add_subdirectory_if_kconfig(lora)
|
||||||
|
|
||||||
add_subdirectory_ifdef(CONFIG_FLASH_HAS_DRIVER_ENABLED flash)
|
add_subdirectory_ifdef(CONFIG_FLASH_HAS_DRIVER_ENABLED flash)
|
||||||
add_subdirectory_ifdef(CONFIG_SERIAL_HAS_DRIVER serial)
|
add_subdirectory_ifdef(CONFIG_SERIAL_HAS_DRIVER serial)
|
||||||
|
|
|
@ -9,6 +9,8 @@ source "drivers/bluetooth/Kconfig"
|
||||||
|
|
||||||
source "drivers/ieee802154/Kconfig"
|
source "drivers/ieee802154/Kconfig"
|
||||||
|
|
||||||
|
source "drivers/lora/Kconfig"
|
||||||
|
|
||||||
source "drivers/console/Kconfig"
|
source "drivers/console/Kconfig"
|
||||||
|
|
||||||
source "drivers/ethernet/Kconfig"
|
source "drivers/ethernet/Kconfig"
|
||||||
|
|
1
drivers/lora/CMakeLists.txt
Normal file
1
drivers/lora/CMakeLists.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#nothing
|
26
drivers/lora/Kconfig
Normal file
26
drivers/lora/Kconfig
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 Manivannan Sadhasivam
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# Top-level configuration file for LORA drivers.
|
||||||
|
|
||||||
|
menuconfig LORA
|
||||||
|
bool "LoRa drivers"
|
||||||
|
help
|
||||||
|
Include LoRa drivers in the system configuration.
|
||||||
|
|
||||||
|
if LORA
|
||||||
|
|
||||||
|
module = LORA
|
||||||
|
module-str = lora
|
||||||
|
source "subsys/logging/Kconfig.template.log_config"
|
||||||
|
|
||||||
|
config LORA_INIT_PRIORITY
|
||||||
|
int "LoRa initialization priority"
|
||||||
|
default 90
|
||||||
|
help
|
||||||
|
System initialization priority for LoRa drivers.
|
||||||
|
|
||||||
|
endif # LORA
|
Loading…
Add table
Add a link
Reference in a new issue