File tree Expand file tree Collapse file tree 7 files changed +2131
-2
lines changed
Expand file tree Collapse file tree 7 files changed +2131
-2
lines changed Original file line number Diff line number Diff line change 55
66if DRIVERS_LPWAN
77
8+ config LPWAN_RN2XX3
9+ bool "Microchip RN2xx3 driver support"
10+ default n
11+ depends on UART
12+ ---help---
13+ Enable driver support for the RN2xx3 LoRa radio transceiver family.
14+
815config LPWAN_SX127X
916 bool "SX127X Low Power Long Range transceiver support"
1017 default n
Original file line number Diff line number Diff line change @@ -26,5 +26,6 @@ ifeq ($(CONFIG_DRIVERS_LPWAN),y)
2626
2727include wireless/lpwan/sx127x/Make.defs
2828include wireless/lpwan/sx126x/Make.defs
29+ include wireless/lpwan/rn2xx3/Make.defs
2930
3031endif # CONFIG_DRIVERS_LPWAN
Original file line number Diff line number Diff line change 1+ # ##############################################################################
2+ # drivers/wireless/lpwan/rn2xx3/CMakeLists.txt
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+ # Licensed to the Apache Software Foundation (ASF) under one or more contributor
7+ # license agreements. See the NOTICE file distributed with this work for
8+ # additional information regarding copyright ownership. The ASF licenses this
9+ # file to you under the Apache License, Version 2.0 (the "License"); you may not
10+ # use this file except in compliance with the License. You may obtain a copy of
11+ # the License at
12+ #
13+ # http://www.apache.org/licenses/LICENSE-2.0
14+ #
15+ # Unless required by applicable law or agreed to in writing, software
16+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+ # License for the specific language governing permissions and limitations under
19+ # the License.
20+ #
21+ # ##############################################################################
22+
23+ if (CONFIG_LPWAN_RN2903)
24+ target_sources (drivers PRIVATE rn2xx3.c)
25+ endif ()
Original file line number Diff line number Diff line change 1+ ############################################################################
2+ # drivers/wireless/lpwan/rn2xx3/Make.defs
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+ # Licensed to the Apache Software Foundation (ASF) under one or more
7+ # contributor license agreements. See the NOTICE file distributed with
8+ # this work for additional information regarding copyright ownership. The
9+ # ASF licenses this file to you under the Apache License, Version 2.0 (the
10+ # "License"); you may not use this file except in compliance with the
11+ # License. You may obtain a copy of the License at
12+ #
13+ # http://www.apache.org/licenses/LICENSE-2.0
14+ #
15+ # Unless required by applicable law or agreed to in writing, software
16+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+ # License for the specific language governing permissions and limitations
19+ # under the License.
20+ #
21+ ############################################################################
22+
23+ ifeq ($(CONFIG_LPWAN_RN2XX3),y)
24+
25+ CSRCS += rn2xx3.c
26+
27+ DEPPATH += --dep-path wireless$(DELIM)lpwan$(DELIM)rn2xx3
28+ VPATH += :wireless$(DELIM)lpwan$(DELIM)rn2xx3
29+ CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)lpwan$(DELIM)rn2xx3
30+
31+ endif # CONFIG_LPWAN_RN2903
You can’t perform that action at this time.
0 commit comments