Skip to content

[nrf fromlist] manifest: Update hal_nordic #2940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 280 commits into
base: main
Choose a base branch
from

Conversation

nordic-krch
Copy link
Contributor

Update hal_nordic with fix in nrfx_spim.

Upstream PR #: 91195

rghaddab and others added 30 commits May 14, 2025 17:17
Add a function to get the value's length of a Key. If it doesn't exist
returns 0.
Add ZMS implementation for csi_get_val_len() and a default implementation
for the other storage systems.
Add some functional tests to verify it.

Upstream PR #: 87792

Signed-off-by: Riadh Ghaddab <[email protected]>
…f strlen

if the provided name in argument is not null this could lead to un
undefined behavior.
Use strnlen to make this safe

Upstream PR #: 87792

Signed-off-by: Riadh Ghaddab <[email protected]>
Add references to the new API functions that were added
"csi_load_one" and "csi_get_val_len"

Upstream PR #: 87792

Signed-off-by: Riadh Ghaddab <[email protected]>
Clean some parts of the code and refactor it to avoid multiple nested
conditions.

Upstream PR #: 87792

Signed-off-by: Riadh Ghaddab <[email protected]>
Cache was not enabled when s2ram did not completed which
lead to system malfunction. Always power up cache when
returning from s2ram function.

Upstream PR #: 88709

Signed-off-by: Krzysztof Chruściński <[email protected]>
(cherry picked from commit a5364b6)
… in nRF devices

This change plays with situation in nRF54L devices where XOTUNE make
LF clock calibration process starts a bit longer. Now HF clock
is configured to be ready right before LF calibration test.

Signed-off-by: Karol Lasończyk <[email protected]>
(cherry picked from commit c6413c3)
…s on nRF54

Added support for audio clock for nRF54L20 and AudioPLL
for nRF54H20 in DMIC PDM driver.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit 16b9f60)
… security

Add support for configuring enterprise mode security.
Fixes SHEL-3573.

Upstream PR #: 88653

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit 43689e6)
Enable Wi-Fi credentials support. Update the heap sizes as
required for enterprise mode.

Upstream PR #: 88653

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit 545c4b4)
…P is re-enabled

Add a simple non-XIP transaction before deactivating the QSPI after
a XIP transaction is performed. This prevents a CPU hang from occuring
when another XIP transaction is attempted after the QSPI is activated
again.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit fb1d078)
Add a shim that allows using the nRF TDM
(Time division multiplexed audio interface) HAL by I2S Zephyr API.

Upstream PR #: 82144

Signed-off-by: Adam Kondraciuk <[email protected]>
Some of nRF54's has TDM peripheral instead of I2S.

Upstream PR #: 82144

Signed-off-by: Adam Kondraciuk <[email protected]>
(cherry picked from commit 3ed0fca)
…o Kconfig

Moved target dependent startup time from header file to
Kconfig option to allow adding new targets with new .conf
file rather that modyfing source of the test. Adjusted
startup time for nRF54L09 and nRF54L20.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit c8bda86)
Also update memory map to leverage unused MRAM and
move sysctrl IPC to RAM20 to free global RAM.

Upstream PR #: 88932

Signed-off-by: Håkon Amundsen <[email protected]>
(cherry picked from commit ee48332)
For reasons other than system off, the retained data should be cleared.

Upstream PR #: 89044

Signed-off-by: Adam Kondraciuk <[email protected]>
(cherry picked from commit 9a575d1)
SoftAP operation needs around 5700 bytes of stack. With a
buffer of 100 bytes, set the supplicant stack size to 5800.

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit eb9d98a)
The parameter length for this command was missing the additional
length from the arrayed parameters.

Signed-off-by: Olivier Lesage <[email protected]>
(cherry picked from commit f4aa29d)
…lation

When test is run with enabled coverage, additional RAM is required
to store coverage data.
Digital Microphone test is reserving most of the available RAM
to store audio samples. Thus, test fails to build with coverage
enabled due to RAM overflow.

Decrease size of the audio buffer when coverage is enabled.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 687f4ce)
IRONside calls are remote procedure calls which comprise the runtime
interface of Nordic IRONside SE. They are realized using a simple IPC
mechanism.

A local domain (client) issues requests to the server by exchanging data
in shared memory, which is divided into evenly sized buffers. The client
selects a buffer, writes a request into it, and sends it to the server.
The server processes that request and writes a response into the same
buffer before returning it to the client.

This patch adds the initial client-side implementation on top of MBOX.
It features cache management and a blocking alloc/dispatch/release API
for synchronous, zero-copy transfers.

A new devicetree binding is added to support this implementation. It is
patterned after the `zephyr,ipc-*` bindings, where each node associates
a pair of mailboxes and a shared memory region.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit 47df9ec)
Applied as noup because of conflicts with:
246cb42 [nrf fromlist] soc: add ironside boot report

Upstream PR #: 88937

Define `ipc_conf_iron.dtsi` and `memory_map_iron.dtsi`. In the future,
they will be merged with the base `ipc_conf.dtsi` and `memory_map.dtsi`
respectively. For now, they are used to replace a few devicetree nodes
when building for `nrf54h20dk/nrf54h20/*/iron` board targets.

Additional changes are included:

  * The IPC configuration includes new "nordic,ironside-call" nodes.
  * The memory map includes an updated RAM20 layout. Its subregions are
    placed under the `/reserved-memory` node like before.
  * The memory map also includes an updated MRAM layout. Partitions are
    now placed under a plain "fixed-partitions" node. MCUboot-specific
    node labels are applied in `cpuapp.dts`.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit e250890)
This is needed for next generation Secure Domain firmware.

Upstream PR #: 89333

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 018e72d)
Port SYS_INIT to use soc_early_init_hook as SYS_INITs are legacy.

Due to moving dmm_init() from PRE_KERNEL_1 SYS_INIT to
soc_early_init_hook(), the DMM test is also updated to ensure that
its setup function runs before dmm_init().

Upstream PR #: 89333

Signed-off-by: Sebastian Bøe <[email protected]>
Signed-off-by: Jonathan Nilsen <[email protected]>
…service

Add an IPC service API for booting local domain cores.

Upstream PR #: 89333

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 3030d5b)
…nit_hook

Boot the radiocore from the app in soc_late_init_hook.

Upstream PR #: 89333

Signed-off-by: Sebastian Bøe <[email protected]>
…/cpuapp/iron

Add support for nrf54h20dk/nrf54h20/cpuapp/iron to the
samples/sysbuild/hello_world sample.

Upstream PR #: 89333

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 1c48c65)
… test

nrf54h should be capable of operating
the CAN interface when GPD is enabled.

Signed-off-by: Bartosz Miller <[email protected]>
(cherry picked from commit a1a8d28)
…RF_IRONSIDE

Add a promptless symbol that can be selected by different drivers. It is
there to ensure that the corresponding library is not added to the build
unless it contains at least one source file.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit 3353bbc)
Events used in `call.c` should've been defined as static.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit 52f8340)
…pdate service

Add a sample demonstrating how to use the IRONside update service to
update the IRONside SE firmware on the nrf54h20dk/nrf54h20/cpuapp/iron
board.

Upstream PR #: 89333

Co-authored-by: Håkon Amundsen <[email protected]>
Signed-off-by: Jonathan Nilsen <[email protected]>
(cherry picked from commit 42306b7)
…o 26

The tx-en-settle-time-us is set to 26 to take into account
the time needed for the RF output power rise time of the nRF5 SoC.

Signed-off-by: Andrzej Kuros <[email protected]>
(cherry picked from commit 024deb4)
e-rk and others added 22 commits May 30, 2025 10:26
…in dBm

The nrf-802154 component of hal_nordic is updated.
The CCA threshold configuration is now done in dBm units, instead of
hardware-dependent scale.
Fixed a bug, where the CONFIG_NRF_802154_CCA_ED_THRESHOLD units were
different from the NRF_802154_CCA_ED_THRESHOLD units. Now all
configuration is done in dBm.

Upstream PR #: 90795

Signed-off-by: Rafał Kuźnia <[email protected]>
What is the change?
Fix the path for module CMSIS_6 and use CMSIS_6 module for TF-M.

Why do we need this change?

After Zephyr updated TF-M to v2.1.0,
bb037d4469842c96f5872b271490aceb0734d965 added a local copy of CMSIS_6
to stop Zephyr's TF-M from downloading the CMSIS_6 from upstream.
The correct way would be to have CMSIS_6 as a module in Zephyr (which
we have now) and pass the path of this module to TF-M.
A fork of the upstream CMSIS_6 was added to Zephyr however,
the path in west.yml makes it a lib and not a module.
Fixing the path generates the ZEPHYR_CMSIS_6_MODULE_DIR symbol which
can now be used to pass to TF-M and the copy in TF-M would no longer be
required.

Signed-off-by: Sudan Landge <[email protected]>
(cherry picked from commit c4235fa)
What is the change?
Switch to module CMSIS_6 for Cortex-M while continuing to use
cmsis module (version 5.9.0) for Cortex-A/R.

Why do we need this change?

The current cmsis module consists of:
- Cortex-M support from upstream cmsis 5.9.0
- Cortex-A/R support which was not upstreamed to CMSIS

Upstream cmsis 5.9 was deprecated so we should be using CMSIS_6 however,
it seems due to lack of Cortex-A/R support in upstream and other reasons,
this was pushed back.

While upstreaming Cortex-A/R support to CMSIS_6 could take its time,
this shouldn't stop Cortex-M to start using CMSIS_6.

Also, if we do not use CMSIS_6 for Cortex-M then using the
newer GCC 14.2 toolchain will return below compiler error:
```
zephyrproject/modules/hal/cmsis/CMSIS/Core/Include/core_cm85.h:4406:10:
fatal error: pac_armv81.h: No such file or directory
 4406 | #include "pac_armv81.h"
```
Using CMSIS_6 for Cortex-M will fix this.

Signed-off-by: Sudan Landge <[email protected]>
(cherry picked from commit f726cb5)
Fix typo in the Kconfig file.
Change 'per socond' to 'per second'.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit b991632)
…der value

Frame rate selected by the user may not be obtained due to
PCLK frequency and finite number of clock divider values.
In such case, driver shall select divider that results in
frame clock rate closest to the requested value.
There was a bug that was discarding perfect match divider.

Add test which confirms correct clock divider selection.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit af43487)
This dependency was always there but not explicitly defined.
By adding the explicit dependency it becomes more obvious
what is wrong when SPI is enabled but GPIO disabled.

This was found when building `samples/bluetooth/peripheral`
for `nrf54l15dk/nrf54l15/cpuapp` with `CONFIG_GPIO=n`.

Before we got:
 - A linker error in `spi_nrfx_common.c` failing
   to reference some nrfx_gpiote APIs.
 - A linker error in `spi_nrfx_spim.c` failing to reference
   the GPIO dts entry.

Now we will get a warning of that GPIO is not enabled
With this it becomes more obvious that SPI driver is enabled by
default because of the external flash mounted on the DK.

Signed-off-by: Rubin Gerritsen <[email protected]>
(cherry picked from commit 577a004)
…endency

Replace semaphores with proper atomic flags when used without
multithreading enabled.

Related: NCSDK-33699

Signed-off-by: Michal Kozikowski <[email protected]>
(cherry picked from commit df65918)
Add TDM support for nRF54H20 and nRF54L20

Signed-off-by: Adam Kondraciuk <[email protected]>
(cherry picked from commit 7381c89)
Add a shim that allows using the nRF TDM
(Time division multiplexed audio interface) HAL by I2S Zephyr API.

Signed-off-by: Adam Kondraciuk <[email protected]>
(cherry picked from commit 5676c65)
nrf-squash! [nrf noup] modules: hal_nordic: adjust nrfx reservations to NCS
nrf-squash! [nrf noup] modules: hal_nordic: use Kconfig symbols in NCS reservation
nrf-squash! [nrf noup] modules: hal_nordic: nrfx: Add SoftDevice PPI resources

Add peripherals used by MPSL and SDC on nRF71-series matching nRF54L.

Signed-off-by: Aleksandar Stanoev <[email protected]>
…ation

CONF_FILE parameter in testcase.yaml overwrites board
specific configurations. Change it to EXTRA_CONF_FILE
to apply both configurations.

Upstream PR #: 90869

Signed-off-by: Michał Stasiak <[email protected]>
Adds a function which can be used to get the integer value of a
devicetree property in Kconfig from a nodelabel

Signed-off-by: Adam Kondraciuk <[email protected]>
Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit a9d0a36)
Some minor improvements.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit b87befb)
…ility

Instead of checking for CONFIG_SECURE_STORAGE_ITS_TRANSFORM_AEAD_*_CUSTOM,
check for any of the existing providers.
This allows downstream users to expand the choices with more options

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit 9379678)
…e of transform.h

Some ITS store module implementations may make use of them.
This is the case of the custom one in the
secure_storage.psa.its.secure_storage.custom.store test.

Instead of making transform.h conditionally available, move the definitions
to common.h and simply make them available whenever the ITS transform
module is enabled.

At the same time, remove unneeded/redundant includes/build asserts.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit 001d054)
Instead of checking whether a custom implementation is present, check
whether the AEAD one is used.
This allows downstream users to expand the implementation choice with
more options.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit 18b14e7)
… 3.12.0

New nrfx release contains MDK 8.71.1
and various fixes for nRF devices.

Upstream PR #: 90944

Signed-off-by: Nikodem Kastelik <[email protected]>
…ration

Some nRF devices allow to configure burst setting per channel
while others globally.

Upstream PR #: 90944

Signed-off-by: Nikodem Kastelik <[email protected]>
Some nRF devices do not allow to configure gain.

Upstream PR #: 90944

Signed-off-by: Nikodem Kastelik <[email protected]>
ZMS legacy enabled by CONFIG_SETTINGS_ZMS_LEGACY uses a different lookup
cache function that is optimized for Settings subsystem.

Signed-off-by: Riadh Ghaddab <[email protected]>
Copy link

github-actions bot commented Jun 6, 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@1f169d9 (master) zephyrproject-rtos/hal_nordic#299 zephyrproject-rtos/hal_nordic#299/files

DNM label due to: 1 project with PR revision

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

Copy link

sonarqubecloud bot commented Jun 6, 2025

Update hal_nordic with fix in nrfx_spim.

Upstream PR #: 91195

Signed-off-by: Krzysztof Chruściński <[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.