soc: nxp: mcxw: update conditions to account for ieee driver

Add ram section for ieee driver.
Use config for ieee driver.

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
This commit is contained in:
Andrei Menzopol 2025-02-07 12:07:00 +02:00 committed by Benjamin Cabé
commit 50de97fedb
2 changed files with 15 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# Copyright 2023-2024 NXP # Copyright 2023-2025 NXP
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
@ -14,4 +14,6 @@ zephyr_include_directories(.)
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "") set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
zephyr_linker_sources_ifdef(CONFIG_BT RAM_SECTIONS sections.ld) if (CONFIG_BT OR CONFIG_IEEE802154)
zephyr_linker_sources(RAM_SECTIONS sections.ld)
endif()

View file

@ -1,4 +1,4 @@
# Copyright 2023-2024 NXP # Copyright 2023-2025 NXP
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
if SOC_SERIES_MCXW if SOC_SERIES_MCXW
@ -45,4 +45,14 @@ config HCI_NXP_RX_THREAD
default y default y
endif # BT endif # BT
if NET_L2_IEEE802154 || NET_L2_OPENTHREAD
# Include intercore messaging component
config NXP_RF_IMU
default y
endif # NET_L2_IEEE802154 || NET_L2_OPENTHREAD
endif # SOC_SERIES_MCXW endif # SOC_SERIES_MCXW