Skip to content

Commit 2640fbf

Browse files
ZhaoxiangJinmmahadevan108
authored andcommitted
mcux: update connectivity_framework.cmake to compatible with sdk ng
Signed-off-by: Zhaoxiang Jin <[email protected]>
1 parent 1418988 commit 2640fbf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

mcux/middleware/mcux-sdk-middleware-connectivity-framework/connectivity_framework.cmake

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ if(CONFIG_SOC_SERIES_MCXW)
4949
${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/configs
5050
)
5151

52-
set(CONFIG_USE_component_osa_zephyr true)
53-
include(set_component_osa)
52+
if(DEFINED CONFIG_SOC_SDKNG_UNSUPPORTED)
53+
include(set_component_osa)
54+
set(CONFIG_USE_component_osa_zephyr true)
55+
endif()
56+
5457
endif()

0 commit comments

Comments
 (0)