Skip to content

Upmerge 02.06.2025 #2926

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 2,507 commits into
base: main
Choose a base branch
from
Open

Upmerge 02.06.2025 #2926

wants to merge 2,507 commits into from

Conversation

rlubos
Copy link
Contributor

@rlubos rlubos commented Jun 2, 2025

Conflicting noups at the moment of creating the PR, please verify if conflicts were resolved correctly:

  • 716dcf7 - nrf noup] test: schedule_api: Use Minimal C library
  • 84b6888 - [nrf noup] samples: net: wifi: Update certificates
  • d2f19a2 - [nrf noup] tests: bluetooth: tester: sysbuild configurable 53/54H
  • be53bed - [nrf noup] entropy: Add fake entropy nRF PRNG driver
  • 06171de - [nrf noup] boards: nordic: nrf7002dk: Bring back NS variants , DOMAIN_CPUAPP_BOARD removed upstream
  • 98e338c - [nrf noup] tests: bluetooth: tester: Increment peripheral count value, dropped, file removed upstream

Copy link

github-actions bot commented Jun 2, 2025

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

Name Old Revision New Revision Diff
babblesim_base BabbleSim/base@153101c (v1.15) BabbleSim/base@d562cd5 (v1.15.1) BabbleSim/base@153101c6..d562cd57
babblesim_ext_2G4_phy_v1 BabbleSim/ext_2G4_phy_v1@62e797b (v2.5) BabbleSim/ext_2G4_phy_v1@dbfd6b0 (v2.6) BabbleSim/ext_2G4_phy_v1@62e797b2..dbfd6b06
bsim zephyrproject-rtos/babblesim-manifest@a88d335 (v2.5) zephyrproject-rtos/babblesim-manifest@193b8ba (main,v2.6) zephyrproject-rtos/babblesim-manifest@a88d3353..193b8ba9
hal_adi zephyrproject-rtos/hal_adi@67b8830 zephyrproject-rtos/hal_adi@f8f6547 (main) zephyrproject-rtos/hal_adi@67b88309..f8f65473
hal_afbr 🆕 N/A (Added) zephyrproject-rtos/hal_afbr@4e1eea7 (zephyr) N/A
hal_altera ❌ zephyrproject-rtos/hal_altera@4fe4df9 (master) N/A (Removed) N/A
hal_ambiq zephyrproject-rtos/hal_ambiq@e916e84 zephyrproject-rtos/hal_ambiq@f46941f zephyrproject-rtos/hal_ambiq@e916e84a..f46941f3
hal_bouffalolab zephyrproject-rtos/hal_bouffalolab@c6c44b8 zephyrproject-rtos/hal_bouffalolab@5811738 (main) zephyrproject-rtos/hal_bouffalolab@c6c44b87..5811738e
hal_espressif zephyrproject-rtos/hal_espressif@dbc28ad zephyrproject-rtos/hal_espressif@1f1d693 (zephyr) zephyrproject-rtos/hal_espressif@dbc28ad4..1f1d6937
hal_infineon zephyrproject-rtos/hal_infineon@9df9d40 zephyrproject-rtos/hal_infineon@0fe4f3a (master) zephyrproject-rtos/hal_infineon@9df9d405..0fe4f3ae
hal_microchip zephyrproject-rtos/hal_microchip@15ca197 zephyrproject-rtos/hal_microchip@4b74f40 zephyrproject-rtos/hal_microchip@15ca1970..4b74f408
hal_nxp zephyrproject-rtos/hal_nxp@6b11d19 zephyrproject-rtos/hal_nxp@e0b4343 (master) zephyrproject-rtos/hal_nxp@6b11d190..e0b43431
hal_renesas zephyrproject-rtos/hal_renesas@15c3f05 zephyrproject-rtos/hal_renesas@9d68ee7 zephyrproject-rtos/hal_renesas@15c3f057..9d68ee71
hal_silabs zephyrproject-rtos/hal_silabs@40a0237 zephyrproject-rtos/hal_silabs@389726f zephyrproject-rtos/hal_silabs@40a0237e..389726f3
hal_st zephyrproject-rtos/hal_st@05fd453 zephyrproject-rtos/hal_st@9f81b44 (master) zephyrproject-rtos/hal_st@05fd4533..9f81b442
hal_stm32 zephyrproject-rtos/hal_stm32@c17bcab zephyrproject-rtos/hal_stm32@5cbc642 zephyrproject-rtos/hal_stm32@c17bcab8..5cbc642b
hal_ti zephyrproject-rtos/hal_ti@258652a zephyrproject-rtos/hal_ti@bc8e7b9 (master) zephyrproject-rtos/hal_ti@258652a3..bc8e7b99
hal_wch zephyrproject-rtos/hal_wch@1de9d3e zephyrproject-rtos/hal_wch@6dd3137 (main) zephyrproject-rtos/hal_wch@1de9d3e4..6dd31376
littlefs zephyrproject-rtos/littlefs@ed0531d zephyrproject-rtos/littlefs@8f5ca34 (zephyr) zephyrproject-rtos/littlefs@ed0531d5..8f5ca347
mcuboot zephyrproject-rtos/mcuboot@8131548 (main) zephyrproject-rtos/mcuboot@990b1fc (upstream-sync) zephyrproject-rtos/mcuboot@81315483..990b1fcb
nrf_hw_models zephyrproject-rtos/nrf_hw_models@d5b95fd zephyrproject-rtos/nrf_hw_models@c6296f6 zephyrproject-rtos/nrf_hw_models@d5b95fdd..c6296f60
nrf_wifi zephyrproject-rtos/nrf_wifi@5e185a2 zephyrproject-rtos/nrf_wifi@0cd7f28 zephyrproject-rtos/nrf_wifi@5e185a2b..0cd7f28d
picolibc zephyrproject-rtos/picolibc@82d62ed (zephyr-no-lto) zephyrproject-rtos/picolibc@560946f (zephyr-1.8.10) zephyrproject-rtos/picolibc@82d62ed1..560946f2
trusted-firmware-m zephyrproject-rtos/trusted-firmware-m@6473899 zephyrproject-rtos/trusted-firmware-m@c150f48 (main) zephyrproject-rtos/trusted-firmware-m@64738996..c150f488
zephyr-lang-rust zephyrproject-rtos/zephyr-lang-rust@d4f9036 zephyrproject-rtos/zephyr-lang-rust@1cab77b (main) zephyrproject-rtos/zephyr-lang-rust@d4f9036a..1cab77b4
zscilib zephyrproject-rtos/zscilib@ee1b287 zephyrproject-rtos/zscilib@ee3c0c4 (master) zephyrproject-rtos/zscilib@ee1b287d..ee3c0c40

Additional metadata changed:

Name URL Submodules West cmds module.yml
hal_infineon
hal_ti

DNM label due to: 1 added project, 1 removed project and 2 projects with metadata changes

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

anangl and others added 28 commits June 3, 2025 16:26
This test cannot be executed with the SDFW Service Framework client
started, so disable its initialization.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
(cherry picked from commit 4b18963)
The BT_DRIVERS symbol default value 'y' used to depend on !BT_CTLR
but now it is always on when BT is set. For BT_RPC the BT_DRIVERS
symbol must not be enabled on the client side as no driver is used.

The temporary solution is to set BT_DRIVERS to 'y' by default only when
BT_HCI stack selection is enabled. It will be 'n' when BT_RPC_STACK
is enabled. The fix should be fine as NCS uses either HCI or RPC stack.

Signed-off-by: Michał Grochala <michal.grochala@nordicsemi.no>
(cherry picked from commit 6e8c8c7)
noup because it's about partition manager.

Fix the build of secure_storage.psa.its.secure_storage.store.zms on
nrf54l15dk/nrf54l15/cpuapp by disabling partition manager, which is
incompatible with the ZMS implementation of the ITS store module.

Disabling it only for that test as it's not needed for the others
and even makes the NS board targets fail if disabling PM.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
(cherry picked from commit 83f2792)
-Adding imply MBEDTLS_CIPHER_AES_ENABLED if not TF-M build
 in BT_CRYPTO
-Needed to set a specific symbol for MBEDTLS + MBEDTLS_BUILTIN
 to work on network core build.
-This [nrf noup] can be removed once PSA crypto is fully
 supported in network core, or PSA crypto is not compiled in at all
 and is provided as a RPC-mechanism via the app-core

Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
(cherry picked from commit f0c7062)
…mple

Adds a configuration to this sample that is optimised for
testing/usage with the nRF5340 which enables the Bluetooth
transport, enables most management groups, has a static partition
manager file with secondary partitions on QSPI flash, configures
MCUboot in overwrite only mode with network core update support

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
(cherry picked from commit 728c9f7)
This adds temporary entropy driver simulation for
nRF54l09 device since final entropy source is not
available yet.

TODO: Remove this commit when proper solution will
be available.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
(cherry picked from commit 238340a)
The SDC HCI controller is defined as a device tree node.
A node representing the SDC controller is added and selected as the
default over the open source link layer. This is consistent with other
SoCs.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
(cherry picked from commit 2114de9)
Added ncs-specific modules to nrfx_config_reserved_resources.
The modules are:
- mpsl
- nrfe

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
(cherry picked from commit fc5978f)
As nrfx_config is included before MDK, MDK-specific device symbols
cannot be used. Use Kconfig symbols instead.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
(cherry picked from commit d1c8f9a)
…targets.

Mesh currently works with trusted storage on real targets. Until secure
storage is supported by default disable it.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
(cherry picked from commit d6e3bbd)
…Cracen driver on nRF54H20

A larger stack is needed to accomodate the Cracen driver.

Signed-off-by: Gordon Klaus <gordon.klaus@nordicsemi.no>
(cherry picked from commit 7e686e8)
This adds temporary entropy driver simulation for
nRF54h20 device since final entropy source is not
available yet.

TODO: Remove this commit when proper solution will
be available.

Jira: NCSDK-25947

Signed-off-by: Kamil Gawor <Kamil.Gawor@nordicsemi.no>
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Signed-off-by: Andreas Moltumyr <andreas.moltumyr@nordicsemi.no>
Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
(cherry picked from commit be53bed)
This commit brings back modifications from these reverted commits:
- f68b2ed
- e606246
slightly adjusted so that the EXMIF peripheral is still by default
handled by the mspi_dw driver, and in cases where this driver cannot
be used because something still does not work correctly, one can
switch to the old solution based on the tweaked spi_dw driver.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
(cherry picked from commit c3c1692)
Configure SDP MSPI pins to switch their control to VPR core

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
(cherry picked from commit c55bfc3)
Update Kconfig options for qualification:
 - Remove experimental on qualified feature.
 - Add experimental on unqualified feature.
 - BT_L2CAP_ECRED is not marked as experimental upstream and we qualify it
   downstream.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: Ingar Kulbrandstad <ingar.kulbrandstad@nordicsemi.no>
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
(cherry picked from commit 6f4fda4)
noup since this option does not exist upstream.

The Oberon PSA core has an option to manually set
the buffer size of the PSA key slots in bytes.

This option here:
MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE

This option has a default value of 16 since it
directly affects the memory usage.

The crypto tests use a secp256r1 key and thus since
the public key for this key is 65 bytes long we need
to set the option in the sample.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
(cherry picked from commit 615f804)
Non-secure variants for nRF7002 DK were removed from upstream
in commit 10d4973. Revert these
changes downstream, so that the NS variants are still available.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
(cherry picked from commit 06171de)
Fixes an issue whereby just enabling hooks would enable the nrf5340
network core hook despite lacking other requirements

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
(cherry picked from commit 497a6fa)
Use PPI resources information from SoftDevice when it is present.

Co-authored-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Signed-off-by: Eivind Jølsgard <eivind.jolsgard@nordicsemi.no>
(cherry picked from commit 9b21d44)
The PSA is a cryptographically secure random number generator.

It will be enabled by default, eventually,  For now, enable it manually.

Signed-off-by: Gordon Klaus <gordon.klaus@nordicsemi.no>
(cherry picked from commit ea9188b)
Same as commit 6ec9d10 but with the REQUIRED keyword on its own
line to attempt to avoid a merge conflict when reverting/reapplying
this patch.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
(cherry picked from commit 8c2d815)
Initial implementation of nRF54L quirks necessary for nRF54LM20A.
To be upstreamed after TODO comments are resolved.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
(cherry picked from commit f35ea13)
Necessary changes for NCS CI.

- Add a Jenkinsfile
- Add a commit-tags workflow: This enables sauce tag checking in sdk-zephyr
- compliance.yml: Disable check for merge commits, since we have upmerges
downstream. Also, since in the code we refer to Kconfig symbols that are defined
in the sdk-nrf repository, the Kconfig checks ((SysBuild)Kconfig,
(SysBuild)KconfigBasic and (SysBuild)KconfigBasicNoModules) will not pass so
exclude them. Also, disable any maintainers-related checks
- scripts/gitlint: Extend the max commit line lengths for Gitlint to account
for sauce tags
- Adapt to the changes in:
nrfconnect/action-commit-tags#4

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Signed-off-by: Krishna T <krishna.t@nordicsemi.no>
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
(cherry picked from commit 0648e72)
Adds symbols used in NCS to the sysbuild Kconfig allow list

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
(cherry picked from commit 37bd53a)
This default matches the default before it got changed in
nrfconnect/sdk-nrf#22369. This ensures
that the current consumption when using Bluetooth remains unchanged.

The default of 854 is slightly smaller than what is recommended
by the documentation provided for MPSL_HFCLK_LATENCY.
It is still likely good enough for this board and its use cases.

This noup commit can be replaced once:
* HFXO startup latency is defined in device tree:
  zephyrproject-rtos/zephyr#90615
* The startup latency is configured per board and not per SoC.
  The startup latency is board specific as the HFXO is an SOC-external
  component.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
(cherry picked from commit be025e3)
Allow to add an image-specific DTS overlay, that is applied based on the
FILE_SUFFIX.
Up to this point, it was possible to specify such Kconfig files
(sysbuild/<image>_<file_suffix>.conf),
but it did not work with dts overlays
(sysbuild/<image>_<file_suffix>.overlay).
This commit aligns the logic of finding configuration files for both
scenarios mentioned above.

Ref: NCSDK-NONE

Upstream PR #: 90643

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
(cherry picked from commit ef44738)
…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 <rafal.kuznia@nordicsemi.no>
(cherry picked from commit ba8fd23)
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 <aleksandar.stanoev@nordicsemi.no>
(cherry picked from commit 666ecc8)
Copy link

sonarqubecloud bot commented Jun 3, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
35 Security Hotspots
6.7% Duplication on New Code (required ≤ 3%)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment