36 lines
731 B
Plaintext
36 lines
731 B
Plaintext
|
#
|
||
|
# Copyright (c) 2019 Manivannan Sadhasivam
|
||
|
#
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
#
|
||
|
|
||
|
DT_COMPAT_SEMTECH_SX1276 := semtech,sx1276
|
||
|
|
||
|
menuconfig LORA_SX12XX
|
||
|
bool "Semtech SX-series driver"
|
||
|
select HAS_SEMTECH_RADIO_DRIVERS
|
||
|
select HAS_SEMTECH_LORAMAC
|
||
|
depends on SPI
|
||
|
help
|
||
|
Enable LoRa driver for Semtech SX12xx.
|
||
|
|
||
|
if LORA_SX12XX
|
||
|
|
||
|
choice
|
||
|
prompt "LoRa Radio chipset"
|
||
|
default LORA_SX1276 if $(dt_compat_enabled,$(DT_COMPAT_SEMTECH_SX1276))
|
||
|
help
|
||
|
Select the LoRa modem used on your board. The default value
|
||
|
is discovered from the device tree and should be correct for
|
||
|
most users.
|
||
|
|
||
|
config LORA_SX1276
|
||
|
bool "Semtech SX1276 driver"
|
||
|
select HAS_SEMTECH_SX1276
|
||
|
help
|
||
|
Enable LoRa driver for Semtech SX1276.
|
||
|
|
||
|
endchoice
|
||
|
|
||
|
endif
|