zephyr/drivers/lora/Kconfig.sx1276
Ulf Magnusson 378d6b137a kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'
Same deal as in commit eddd98f811 ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.

Will do the defconfigs separately in case there are any complaints
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-12 10:32:34 -06:00

35 lines
610 B
Plaintext

#
# Copyright (c) 2019 Manivannan Sadhasivam
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig LORA_SX1276
bool "Semtech SX1276 driver"
select HAS_SEMTECH_RADIO_DRIVERS
select HAS_SEMTECH_LORAMAC
select HAS_SEMTECH_SX1276
depends on SPI
depends on COUNTER
help
Enable LoRa driver for Semtech SX1276.
choice
prompt "SX1276 PA Output pin"
default PA_BOOST_PIN
depends on LORA_SX1276
help
Antenna connection type.
config PA_RFO_PIN
bool "PA_RFO_PIN"
help
Antenna connected to PA_RFO pin.
config PA_BOOST_PIN
bool "PA_BOOST_PIN"
help
Antenna connected to PA_BOOST pin.
endchoice