Skip to content

Conversation

@ppryga-nordic
Copy link
Contributor

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.

#endif /* CONFIG_NRF_802154_RADIO_DRIVER */

#if defined(CONFIG_MPSL)
#include <mpsl.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add nrf-squash! with original commit title in commit message

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added nrf-squash! [nrf noup] modules: hal_nordic: adjust nrfx reservations to NCS to commit message

…endencies

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]>
@ppryga-nordic ppryga-nordic force-pushed the fix-mpsl-resources-allocation-include branch from 1482a53 to bf068a2 Compare July 29, 2025 06:42
@rlubos rlubos merged commit 6aa0fda into nrfconnect:main Jul 29, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants