Skip to content

Commit 415214a

Browse files
andrei-menzopolkartben
authored andcommitted
modules: hal_nxp: update mcux-sdk-ng compoments.cmake
Select driver.spc Use CONFIG_IEEE802154 Signed-off-by: Andrei Menzopol <[email protected]>
1 parent 137199b commit 415214a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

modules/hal_nxp/mcux/mcux-sdk-ng/components/components.cmake

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,11 @@ if(CONFIG_NXP_RF_IMU)
3737
endif()
3838
endif()
3939

40-
if(CONFIG_SOC_SERIES_MCXW)
41-
if(CONFIG_NET_L2_IEEE802154 OR CONFIG_NET_L2_OPENTHREAD)
42-
set(CONFIG_MCUX_COMPONENT_component.lists ON)
43-
set(CONFIG_USE_component_osa_zephyr ON)
44-
zephyr_compile_definitions(OSA_USED=1U)
45-
endif()
40+
if(CONFIG_SOC_SERIES_MCXW AND CONFIG_IEEE802154)
41+
set(CONFIG_MCUX_COMPONENT_driver.spc ON)
42+
set(CONFIG_MCUX_COMPONENT_component.lists ON)
43+
set(CONFIG_USE_component_osa_zephyr ON)
44+
zephyr_compile_definitions(OSA_USED=1U)
4645
endif()
4746

4847
if(CONFIG_USE_component_osa_zephyr)

0 commit comments

Comments
 (0)