File tree Expand file tree Collapse file tree 7 files changed +108
-0
lines changed Expand file tree Collapse file tree 7 files changed +108
-0
lines changed Original file line number Diff line number Diff line change @@ -5276,6 +5276,15 @@ West:
5276
5276
labels :
5277
5277
- " area: Storage"
5278
5278
5279
+ " West project: lora-basics-modem " :
5280
+ status : maintained
5281
+ maintainers :
5282
+ - JordanYates
5283
+ files :
5284
+ - modules/lora-basics-modem/
5285
+ labels :
5286
+ - " area: LoRa"
5287
+
5279
5288
" West project: loramac-node " :
5280
5289
status : maintained
5281
5290
maintainers :
Original file line number Diff line number Diff line change @@ -99,6 +99,9 @@ comment "Lz4 module not available."
99
99
comment "loramac-node module not available."
100
100
depends on !ZEPHYR_LORAMAC_NODE_MODULE
101
101
102
+ comment "LoRa Basics Modem module not available."
103
+ depends on !ZEPHYR_LORA_BASICS_MODEM_MODULE
104
+
102
105
comment "CANopenNode module not available."
103
106
depends on !ZEPHYR_CANOPENNODE_MODULE
104
107
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Embeint Inc
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ if (CONFIG_USE_LORA_BASICS_MODEM_DRIVERS )
5
+
6
+ set (LORA_BASICS_MODEM_DIR ${ZEPHYR_CURRENT_MODULE_DIR} )
7
+ set (LBM_LIB_DIR ${LORA_BASICS_MODEM_DIR} /lbm_lib )
8
+ set (LBM_SMTC_MODEM_CORE_DIR ${LBM_LIB_DIR} /smtc_modem_core )
9
+ set (LBM_RADIO_DRIVERS_DIR ${LBM_LIB_DIR} /smtc_modem_core/radio_drivers )
10
+
11
+ if (TARGET lora_basics_modem )
12
+ set (ZEPHYR_CURRENT_LIBRARY lora_basics_modem )
13
+ else ()
14
+ zephyr_library_named (lora_basics_modem )
15
+ endif ()
16
+
17
+ zephyr_library_include_directories (${LBM_SMTC_MODEM_CORE_DIR} /smtc_ral/src )
18
+ zephyr_library_include_directories (${LBM_SMTC_MODEM_CORE_DIR} /smtc_ralf/src )
19
+
20
+ if (CONFIG_LORA_SX126X )
21
+ include (sx126x.cmake )
22
+ endif ()
23
+ if (CONFIG_LORA_SX127X )
24
+ include (sx127x.cmake )
25
+ endif ()
26
+ endif ()
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024 Semtech Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Top-level configuration file for LoRa Basics Modem containing LoRa
5
+ # transceiver drivers and LBM LoRaWAN stack
6
+
7
+ config ZEPHYR_LORA_BASICS_MODEM_MODULE
8
+ bool
9
+
10
+ config USE_LORA_BASICS_MODEM_DRIVERS
11
+ bool
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024 Semtech Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Used by LBM
5
+ zephyr_library_compile_definitions (SX126X )
6
+ zephyr_library_compile_definitions (SX126X_TRANSCEIVER )
7
+
8
+ # Allow modem options
9
+ set (ALLOW_CSMA_BUILD true )
10
+
11
+ set (LBM_SX126X_LIB_DIR ${LBM_RADIO_DRIVERS_DIR} /sx126x_driver/src )
12
+ zephyr_include_directories (${LBM_SX126X_LIB_DIR} )
13
+
14
+ #-----------------------------------------------------------------------------
15
+ # Radio specific sources
16
+ #-----------------------------------------------------------------------------
17
+ zephyr_library_sources (
18
+ ${LBM_SX126X_LIB_DIR} /lr_fhss_mac.c
19
+ ${LBM_SX126X_LIB_DIR} /sx126x.c
20
+ ${LBM_SX126X_LIB_DIR} /sx126x_driver_version.c
21
+ ${LBM_SX126X_LIB_DIR} /sx126x_lr_fhss.c
22
+ ${LBM_SMTC_MODEM_CORE_DIR} /smtc_ral/src/ral_sx126x.c
23
+ ${LBM_SMTC_MODEM_CORE_DIR} /smtc_ralf/src/ralf_sx126x.c
24
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024 Semtech Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Used by LBM
5
+ zephyr_library_compile_definitions (SX127X )
6
+ zephyr_library_compile_definitions (SX127X_TRANSCEIVER )
7
+
8
+ if (CONFIG_DT_HAS_SEMTECH_SX1272_ENABLED )
9
+ zephyr_library_compile_definitions (SX1272 )
10
+ endif ()
11
+ if (CONFIG_DT_HAS_SEMTECH_SX1276_ENABLED )
12
+ zephyr_library_compile_definitions (SX1276 )
13
+ endif ()
14
+
15
+ # Allow modem options
16
+ set (ALLOW_CSMA_BUILD true )
17
+
18
+ set (LBM_SX127X_LIB_DIR ${LBM_RADIO_DRIVERS_DIR} /sx127x_driver/src )
19
+ zephyr_include_directories (${LBM_SX127X_LIB_DIR} )
20
+
21
+ #-----------------------------------------------------------------------------
22
+ # Radio specific sources
23
+ #-----------------------------------------------------------------------------
24
+ zephyr_library_sources (
25
+ ${LBM_SX127X_LIB_DIR} /sx127x.c
26
+ ${LBM_SMTC_MODEM_CORE_DIR} /smtc_ral/src/ral_sx127x.c
27
+ ${LBM_SMTC_MODEM_CORE_DIR} /smtc_ralf/src/ralf_sx127x.c
28
+ )
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ manifest:
23
23
url-base : https://github.com/zephyrproject-rtos
24
24
- name : babblesim
25
25
url-base : https://github.com/BabbleSim
26
+ - name : lora-net
27
+ url-base : https://github.com/lora-net
26
28
27
29
group-filter : [-babblesim, -optional]
28
30
@@ -296,6 +298,11 @@ manifest:
296
298
groups :
297
299
- fs
298
300
revision : ed0531d59ee37f5fb2762bcf2fc8ba4efaf82656
301
+ - name : lora-basics-modem
302
+ remote : lora-net
303
+ repo-path : SWL2001
304
+ revision : v4.8.0
305
+ path : modules/lib/lora-basics-modem
299
306
- name : loramac-node
300
307
revision : fb00b383072518c918e2258b0916c996f2d4eebe
301
308
path : modules/lib/loramac-node
You can’t perform that action at this time.
0 commit comments