mirror of
https://github.com/apache/nuttx.git
synced 2026-08-25 15:37:23 +00:00
Character driver for the Semtech SX1301, the baseband processor of a LoRaWAN gateway, and the two SX125x radios it drives. Received packets come from read(), downlinks go to write(), and the channel plan, the start and the stop are ioctls. The interface is device independent, in nuttx/wireless/lpwan/lora_gw.h with the commands in the common WLIOC_GW_* space, so another concentrator driver can implement it and the same application drive it. Adds a lorawan_gw configuration for the Nucleo F746ZG with a shield of the LRWAN_GS_HF1 family. Off by default (LPWAN_SX1301). Assisted-by: Claude Code 4.8 Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
############################################################################
|
|
# drivers/wireless/lpwan/Make.defs
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership. The
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance with the
|
|
# License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
#
|
|
############################################################################
|
|
|
|
# Include nothing if LPWAN is disabled
|
|
|
|
ifeq ($(CONFIG_DRIVERS_LPWAN),y)
|
|
|
|
include wireless/lpwan/sx127x/Make.defs
|
|
include wireless/lpwan/sx126x/Make.defs
|
|
include wireless/lpwan/sx1301/Make.defs
|
|
include wireless/lpwan/rn2xx3/Make.defs
|
|
|
|
endif # CONFIG_DRIVERS_LPWAN
|