From a88f6d8cda85874c033bbbb0ca6a4550055cb261 Mon Sep 17 00:00:00 2001 From: Manivannan Sadhasivam Date: Mon, 11 Oct 2021 17:36:32 +0530 Subject: [PATCH] modules: loramac-node: Fix the build issue for US915 and AU915 regions These 2 regions depends on the RegionBaseUS.c file. Fixes: #39297 Signed-off-by: Manivannan Sadhasivam --- modules/loramac-node/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/loramac-node/CMakeLists.txt b/modules/loramac-node/CMakeLists.txt index 71fc06661e9c4..4087f39478930 100644 --- a/modules/loramac-node/CMakeLists.txt +++ b/modules/loramac-node/CMakeLists.txt @@ -61,6 +61,7 @@ zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_EU868 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionEU868.c ) zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_US915 + ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionBaseUS.c ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionUS915.c ) zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_CN779 @@ -70,6 +71,7 @@ zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_EU433 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionEU433.c ) zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_AU915 + ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionBaseUS.c ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionAU915.c ) zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_AS923