zephyr/drivers/lora/Kconfig
Jordan Yates 4b370fb5e3 lora: sx12xx_common: transition to k_poll_signal
Transition the receive synchronisation method from a single driver
semaphore to a function specific k_poll_signal. This is required to
allow the modem to be released without introducing race conditions on
the signalling mechanism.

Without this change, the RX can either be signalled before the modem is
released, unblocking the calling thread before the modem is put back to
sleep, or after the modem is released, in which case a second thread
could start using the semaphore before the original thread is signalled.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2021-08-08 04:19:27 -04:00

38 lines
682 B
Plaintext

#
# Copyright (c) 2019 Manivannan Sadhasivam
#
# SPDX-License-Identifier: Apache-2.0
#
# Top-level configuration file for LORA drivers.
menuconfig LORA
bool "LoRa support [EXPERIMENTAL]"
select REQUIRES_FULL_LIBC
select POLL
help
Include LoRa drivers in the system configuration.
if LORA
module = LORA
module-str = lora
source "subsys/logging/Kconfig.template.log_config"
config LORA_SHELL
bool "Enable LoRa Shell"
default y
depends on SHELL
help
Enable LoRa Shell for testing.
config LORA_INIT_PRIORITY
int "LoRa initialization priority"
default 90
help
System initialization priority for LoRa drivers.
source "drivers/lora/Kconfig.sx12xx"
endif # LORA