mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 10:18:24 +08:00
a36147c9cb
LoRa radios supported by LoRaMAC-Node have a lot of common functionality. Zephyr's LoRa implementation for the SX1276 uses LoRaMAC-Nodes Radio HAL to implement API functionality like send and recv. The exact same functionality will be used by the SX126x driver. Facilitate sharing by moving that to a separate source file. Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
9 lines
344 B
CMake
9 lines
344 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library_named(loramac-node)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_LORA_SHELL shell.c)
|
|
zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_RADIO_DRIVERS hal_common.c)
|
|
zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_RADIO_DRIVERS sx12xx_common.c)
|
|
zephyr_library_sources_ifdef(CONFIG_LORA_SX1276 sx1276.c)
|