Skip to content

Conversation

@nika-nordic
Copy link
Contributor

Integrate nrfx 4.0 and align all affected drivers, samples and tests.

@github-actions
Copy link

github-actions bot commented Nov 14, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_nordic zephyrproject-rtos/hal_nordic@7858281 zephyrproject-rtos/hal_nordic@564e754 (master,nrfx-4.0.1) zephyrproject-rtos/[email protected]
mcuboot zephyrproject-rtos/mcuboot@f3cc947 (main) zephyrproject-rtos/mcuboot@c11e845 (upstream-sync) zephyrproject-rtos/[email protected]
nrf_hw_models zephyrproject-rtos/nrf_hw_models@26ed181 zephyrproject-rtos/nrf_hw_models@5eec7ac (nrf4.0.0) zephyrproject-rtos/[email protected]
trusted-firmware-m zephyrproject-rtos/trusted-firmware-m@04aa724 zephyrproject-rtos/trusted-firmware-m@c2f9edc (main) zephyrproject-rtos/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_nordic DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Nov 14, 2025
@nika-nordic nika-nordic force-pushed the integrate_nrfx_4_0_zephyrupstream branch from 2717ad4 to b893dd0 Compare November 17, 2025 14:26
@nika-nordic nika-nordic force-pushed the integrate_nrfx_4_0_zephyrupstream branch 6 times, most recently from 0833c1f to f852c22 Compare November 20, 2025 11:05
@nika-nordic nika-nordic force-pushed the integrate_nrfx_4_0_zephyrupstream branch 6 times, most recently from 1878097 to 8c9fd0b Compare November 21, 2025 10:32
@nika-nordic nika-nordic marked this pull request as ready for review November 21, 2025 11:01
tomi-font
tomi-font previously approved these changes Nov 27, 2025
tmon-nordic
tmon-nordic previously approved these changes Nov 27, 2025
Copy link
Contributor

@jfischer-no jfischer-no left a comment

Choose a reason for hiding this comment

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

+1,819 −5,260 changes in a single commit? I am pretty sure that HAL changes like this can be introduced in a more reviewable way, with a compatibility layer removed after all changes are done.

@carlescufi
Copy link
Member

+1,819 −5,260 changes in a single commit? I am pretty sure that HAL changes like this can be introduced in a more reviewable way, with a compatibility layer removed after all changes are done.

All the changes in this PR need to be atomically added since the nrfx 4.0.0 version breaks existing HAL APIs, so there was no other choice to allow bisection.

@nika-nordic nika-nordic force-pushed the integrate_nrfx_4_0_zephyrupstream branch 2 times, most recently from d50e3e1 to 9b86d87 Compare November 27, 2025 12:33
New nrfx release contains major rework of nrfx drivers
instantiation making it easier to integrate with dts nodes.
Now, nrfx driver instances can no longer be `const`
because they contain driver runtime state.
Additionally, all nrfx drivers return `errno` error codes
instead of deprecated `nrfx_err_t`.

Signed-off-by: Nikodem Kastelik <[email protected]>
@sonarqubecloud
Copy link

@carlescufi carlescufi merged commit ad1e5ac into zephyrproject-rtos:main Nov 27, 2025
38 checks passed
carlescufi added a commit to carlescufi/zephyr that referenced this pull request Nov 27, 2025
Starting with nrfx 4.0.0, the nrfx_err_t, NRFX_SUCCESS and NRFX_ERROR_*
have been deprecated. Most of them were removed here:

zephyrproject-rtos#99399

but a few were missed.

Signed-off-by: Carles Cufi <[email protected]>
carlescufi added a commit to carlescufi/zephyr that referenced this pull request Nov 27, 2025
Starting with nrfx 4.0.0, the nrfx_err_t, NRFX_SUCCESS and NRFX_ERROR_*
have been deprecated. Most of them were removed here:

zephyrproject-rtos#99399

but a few were missed.

Signed-off-by: Carles Cufi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.