Skip to content

Commit 3a921c1

Browse files
fengming-yekartben
authored andcommitted
hal: nxp: mcux-ng: align imu adapter with SDK
Align cmake with NXP SDK. Signed-off-by: Fengming Ye <frank.ye@nxp.com>
1 parent 94655d2 commit 3a921c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ if(CONFIG_NXP_RF_IMU)
2828
if(CONFIG_SOC_SERIES_RW6XX)
2929
set(CONFIG_MCUX_COMPONENT_driver.imu ON)
3030
set(CONFIG_MCUX_COMPONENT_driver.gdma ON)
31-
zephyr_include_directories(${ZEPHYR_CURRENT_MODULE_DIR}/mcux/mcux-sdk/components/rpmsg)
32-
zephyr_library_sources(${ZEPHYR_CURRENT_MODULE_DIR}/mcux/mcux-sdk/components/rpmsg/fsl_adapter_rfimu.c)
31+
set(CONFIG_MCUX_COMPONENT_component.wireless_imu_adapter ON)
32+
set(CONFIG_MCUX_PRJSEG_component.osa_interface.osa_macro_used ON)
3333
elseif(CONFIG_SOC_SERIES_MCXW)
3434
set(CONFIG_MCUX_COMPONENT_component.lists ON)
3535
set(CONFIG_MCUX_COMPONENT_component.rpmsg_adapter ON)

0 commit comments

Comments
 (0)