Skip to content

Commit bf068a2

Browse files
committed
[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 <mpsl.h> 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 <[email protected]>
1 parent 463374f commit bf068a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hal_nordic/nrfx/nrfx_config_reserved_resources_ncs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
#endif /* CONFIG_NRF_802154_RADIO_DRIVER */
122122

123123
#if defined(CONFIG_MPSL)
124-
#include <mpsl.h>
124+
#include <mpsl_hwres.h>
125125
#if defined(CONFIG_SOC_COMPATIBLE_NRF52X)
126126
#define NRFX_PPI_CHANNELS_USED_BY_MPSL MPSL_PPI_CHANNELS_USED_MASK
127127
#elif defined(CONFIG_SOC_COMPATIBLE_NRF53X)

0 commit comments

Comments
 (0)