From bf068a21ba4b33408f54063ab17a7dc4f23c70c8 Mon Sep 17 00:00:00 2001 From: Piotr Pryga Date: Sat, 26 Jul 2025 21:00:41 +0200 Subject: [PATCH] [nrf noup] hal_nordic: Fix MPSL include that might cause unwanted dependencies nrf-squash! [nrf noup] modules: hal_nordic: adjust nrfx reservations to NCS The #include in reserved resources header introduced MPSL types and other MPSL headers to be available in nrf hal build. That might cause problems when using MPSL headers in subsystems for example clock driver. The MPSL reserved resources are provided in mpsl_hwres.h header file that is enough to be included in hal_nordic. Signed-off-by: Piotr Pryga --- modules/hal_nordic/nrfx/nrfx_config_reserved_resources_ncs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hal_nordic/nrfx/nrfx_config_reserved_resources_ncs.h b/modules/hal_nordic/nrfx/nrfx_config_reserved_resources_ncs.h index 1678b2e4171..ec8a9acaf7b 100644 --- a/modules/hal_nordic/nrfx/nrfx_config_reserved_resources_ncs.h +++ b/modules/hal_nordic/nrfx/nrfx_config_reserved_resources_ncs.h @@ -121,7 +121,7 @@ #endif /* CONFIG_NRF_802154_RADIO_DRIVER */ #if defined(CONFIG_MPSL) -#include +#include #if defined(CONFIG_SOC_COMPATIBLE_NRF52X) #define NRFX_PPI_CHANNELS_USED_BY_MPSL MPSL_PPI_CHANNELS_USED_MASK #elif defined(CONFIG_SOC_COMPATIBLE_NRF53X)