Skip to content

Commit

Permalink
wireless/lpwan: Add support for the RN903 and RN2483 family of LoRa
Browse files Browse the repository at this point in the history
radio transceivers. This initial support includes transmit and receive
functionality and configuration and reading of radio parameters like
frequency and bandwidth.

Signed-off-by: Matteo Golin <[email protected]>
  • Loading branch information
linguini1 authored and acassis committed Mar 6, 2025
1 parent 219fb1a commit b9b505a
Show file tree
Hide file tree
Showing 7 changed files with 2,131 additions and 2 deletions.
7 changes: 7 additions & 0 deletions drivers/wireless/lpwan/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

if DRIVERS_LPWAN

config LPWAN_RN2XX3
bool "Microchip RN2xx3 driver support"
default n
depends on UART
---help---
Enable driver support for the RN2xx3 LoRa radio transceiver family.

config LPWAN_SX127X
bool "SX127X Low Power Long Range transceiver support"
default n
Expand Down
1 change: 1 addition & 0 deletions drivers/wireless/lpwan/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ ifeq ($(CONFIG_DRIVERS_LPWAN),y)

include wireless/lpwan/sx127x/Make.defs
include wireless/lpwan/sx126x/Make.defs
include wireless/lpwan/rn2xx3/Make.defs

endif # CONFIG_DRIVERS_LPWAN
25 changes: 25 additions & 0 deletions drivers/wireless/lpwan/rn2xx3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# ##############################################################################
# drivers/wireless/lpwan/rn2xx3/CMakeLists.txt
#
# 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.
#
# ##############################################################################

if(CONFIG_LPWAN_RN2903)
target_sources(drivers PRIVATE rn2xx3.c)
endif()
31 changes: 31 additions & 0 deletions drivers/wireless/lpwan/rn2xx3/Make.defs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
############################################################################
# drivers/wireless/lpwan/rn2xx3/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.
#
############################################################################

ifeq ($(CONFIG_LPWAN_RN2XX3),y)

CSRCS += rn2xx3.c

DEPPATH += --dep-path wireless$(DELIM)lpwan$(DELIM)rn2xx3
VPATH += :wireless$(DELIM)lpwan$(DELIM)rn2xx3
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)lpwan$(DELIM)rn2xx3

endif # CONFIG_LPWAN_RN2903
Loading

0 comments on commit b9b505a

Please sign in to comment.