38 lines
623 B
Plaintext
38 lines
623 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.
|
||
|
|
||
|
if LORA_SX1276
|
||
|
|
||
|
choice
|
||
|
prompt "SX1276 PA Output pin"
|
||
|
default PA_BOOST_PIN
|
||
|
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
|
||
|
|
||
|
endif # LORA_SX1276
|