Skip to content

Upmerge 2025.04.23 #2817

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

Merged
merged 7,135 commits into from
May 13, 2025
Merged

Upmerge 2025.04.23 #2817

merged 7,135 commits into from
May 13, 2025

Conversation

jfischer-no
Copy link
Contributor

@jfischer-no jfischer-no commented Apr 24, 2025

upstream-head-sha: 9a6f116

Below are dropped noup/fromlist commits that cannot be applied cleanly and I cannot resolve them because I have no clue about this area or the files upstream are removed/changed. So whoever is responsible for these patches, please take a look at them and if necessary provide me with an updated version of the patches.

@mstasiaknordic
# [nrf noup] Revert "[nrf fromlist] boards: nordic: add FLPR core to nRF54L20pdk"
c63d142
# [nrf noup] Revert "[nrf fromlist] modules: hal_nordic: nrfx: add nRF54L20 FLPR core"
8a381ae
# [nrf noup] Revert "[nrf fromlist] modules: hal_nordic: Add nRF54L09 FLPR"
b717237

@frkv
[nrf noup] modules: mbedtls: Disable configurations in Kconfig.tls-generic
fe0996c

@tomchy
[nrf fromlist] Revert "boards: nordic: Fix cpuapp_ram0x_region reg value https://github.com/zephyrproject-rtos/zephyr/pull/88121/commits
1bac58a

@krish2718
[nrf fromlist] nrf_wifi: Add nRF71 support zephyrproject-rtos/zephyr#88816
d8dae50
3c86e5b

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Apr 24, 2025

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

Name Old Revision New Revision Diff
cmsis zephyrproject-rtos/cmsis@4b96cbb zephyrproject-rtos/cmsis@d1b8b20 (master) zephyrproject-rtos/[email protected]
cmsis-nn zephyrproject-rtos/cmsis-nn@ea987c1 (zephyr-v6.0.0) zephyrproject-rtos/cmsis-nn@e9328d6 (zephyr-v7.0.0) zephyrproject-rtos/[email protected]
fatfs zephyrproject-rtos/fatfs@427159b zephyrproject-rtos/fatfs@16245c7 (master) zephyrproject-rtos/[email protected]
hal_adi zephyrproject-rtos/hal_adi@b1a1023 zephyrproject-rtos/hal_adi@67b8830 zephyrproject-rtos/[email protected]
hal_ambiq zephyrproject-rtos/hal_ambiq@87a188b zephyrproject-rtos/hal_ambiq@e916e84 zephyrproject-rtos/[email protected]
hal_atmel zephyrproject-rtos/hal_atmel@56d60eb zephyrproject-rtos/hal_atmel@ca7e4c6 (master) zephyrproject-rtos/[email protected]
hal_bouffalolab 🆕 N/A (Added) zephyrproject-rtos/hal_bouffalolab@c6c44b8 (main) N/A
hal_espressif zephyrproject-rtos/hal_espressif@e523710 zephyrproject-rtos/hal_espressif@dbc28ad zephyrproject-rtos/[email protected]
hal_infineon zephyrproject-rtos/hal_infineon@a9b75e0 zephyrproject-rtos/hal_infineon@9df9d40 zephyrproject-rtos/[email protected]
hal_intel zephyrproject-rtos/hal_intel@0355bb8 zephyrproject-rtos/hal_intel@0447cd2 zephyrproject-rtos/[email protected]
hal_microchip zephyrproject-rtos/hal_microchip@71eba05 zephyrproject-rtos/hal_microchip@15ca197 (master) zephyrproject-rtos/[email protected]
hal_nuvoton zephyrproject-rtos/hal_nuvoton@466c3ee zephyrproject-rtos/hal_nuvoton@be1042d (master) zephyrproject-rtos/[email protected]
hal_nxp zephyrproject-rtos/hal_nxp@0ac8302 zephyrproject-rtos/hal_nxp@6b11d19 zephyrproject-rtos/[email protected]
hal_renesas zephyrproject-rtos/hal_renesas@64fce2e zephyrproject-rtos/hal_renesas@15c3f05 zephyrproject-rtos/[email protected]
hal_rpi_pico zephyrproject-rtos/hal_rpi_pico@79ee0f9 zephyrproject-rtos/hal_rpi_pico@7b57b24 (zephyr) zephyrproject-rtos/[email protected]
hal_silabs zephyrproject-rtos/hal_silabs@6371fa8 zephyrproject-rtos/hal_silabs@40a0237 zephyrproject-rtos/[email protected]
hal_stm32 zephyrproject-rtos/hal_stm32@3784237 zephyrproject-rtos/hal_stm32@c17bcab zephyrproject-rtos/[email protected]
hal_tdk zephyrproject-rtos/hal_tdk@e0ade95 zephyrproject-rtos/hal_tdk@6727477 zephyrproject-rtos/[email protected]
hal_ti zephyrproject-rtos/hal_ti@2e7b95a zephyrproject-rtos/hal_ti@258652a zephyrproject-rtos/[email protected]
hal_xtensa zephyrproject-rtos/hal_xtensa@baa56aa zephyrproject-rtos/hal_xtensa@b38620c zephyrproject-rtos/[email protected]
hostap zephyrproject-rtos/hostap@219b1f7 zephyrproject-rtos/hostap@8412f4b (main) zephyrproject-rtos/[email protected]
liblc3 zephyrproject-rtos/liblc3@bb85f7d zephyrproject-rtos/liblc3@48bbd3e zephyrproject-rtos/[email protected]
libmctp 🆕 N/A (Added) zephyrproject-rtos/libmctp@b97860e (zephyr) N/A
littlefs zephyrproject-rtos/littlefs@009bcff zephyrproject-rtos/littlefs@ed0531d (zephyr) zephyrproject-rtos/[email protected]
lvgl zephyrproject-rtos/lvgl@6decbb7 zephyrproject-rtos/lvgl@1ed1ddd zephyrproject-rtos/[email protected]
mbedtls zephyrproject-rtos/mbedtls@4952e13 zephyrproject-rtos/mbedtls@5f88993 (zephyr) zephyrproject-rtos/[email protected]
mcuboot zephyrproject-rtos/mcuboot@a2bc982 zephyrproject-rtos/mcuboot@8131548 (main) zephyrproject-rtos/[email protected]
mipi-sys-t zephyrproject-rtos/mipi-sys-t@71ace1f zephyrproject-rtos/mipi-sys-t@33e5c23 (zephyr) zephyrproject-rtos/[email protected]
net-tools zephyrproject-rtos/net-tools@93acc8b zephyrproject-rtos/net-tools@986bfeb (master) zephyrproject-rtos/[email protected]
nrf_hw_models zephyrproject-rtos/nrf_hw_models@b84bd73 zephyrproject-rtos/nrf_hw_models@d5b95fd (main) zephyrproject-rtos/[email protected]
nrf_wifi zephyrproject-rtos/nrf_wifi@6ed753e zephyrproject-rtos/nrf_wifi@d89b42a zephyrproject-rtos/[email protected]
percepio zephyrproject-rtos/percepio@0d44033 zephyrproject-rtos/percepio@49e6dc2 (zephyr) zephyrproject-rtos/[email protected]
tflite-micro zephyrproject-rtos/tflite-micro@48613f7 (zephyr) zephyrproject-rtos/tflite-micro@8d404de (zephyr-v4.1.0) zephyrproject-rtos/[email protected]
uoscore-uedhoc zephyrproject-rtos/uoscore-uedhoc@84ef879 zephyrproject-rtos/uoscore-uedhoc@54abc10 (zephyr) zephyrproject-rtos/[email protected]
zephyr-lang-rust zephyrproject-rtos/zephyr-lang-rust@7af3db4 (v4.0-branch) zephyrproject-rtos/zephyr-lang-rust@d4f9036 (v4.1-branch) zephyrproject-rtos/[email protected]

Additional metadata changed:

Name URL Submodules West cmds module.yml
hal_ambiq
hostap
littlefs
mcuboot
zephyr-lang-rust

DNM label due to: 2 added projects and 5 projects with metadata changes

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

SebastianBoe and others added 25 commits May 13, 2025 10:32
…nit_hook

Boot the radiocore from the app in soc_late_init_hook.

Upstream PR #: 89333

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 37e28604f355d36f2ab1a8044ef92226dd303e30)
…/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 81234973dc7134cbc7f08c79a4622fa2c8647055)
… 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 3353bbc0661e66ff78479c04c99420bff12eede6)
Events used in `call.c` should've been defined as static.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit 52f834068a076f6b3d675fe1dbf11401f03cf081)
Applied as noup because of conflicts.

Upstream PR #: 89333

Add an IPC service API for triggering updates of the Nordic IRONside SE
firmware using the IRONside call module.

Co-authored-by: Håkon Amundsen <[email protected]>
Signed-off-by: Jonathan Nilsen <[email protected]>
(cherry picked from commit cd4c148)
Upstream PR #: 89333

Enable the cpusec_bellboard by default for the cpuapp iron board variant
so that IPC toward the secure domain is available by default. Because
IPC is needed to boot the radio core, this fits the standard use case.

Signed-off-by: Jonathan Nilsen <[email protected]>
(cherry picked from commit e09a30c)
…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 a23ecf423aee9564de4972ee6f849f3a98670e2d)
…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 024deb49b18519a0a56dfbd53f8c708a496d52f1)
…XTO during restart

Some SoCs generates unexpected RXTO event during restart.
Restart happens when ENDRX_STARTRX short is enabled and STOPRX
is triggered (via short or by CPU). STOPRX starts closing
procedure and ENDRX event is generated at some point which
triggers STARTRX and closing procedure is interrupted. RXTO
should not be triggered in that case. Due to internal timings
some SoC on fast UARTE instance will trigger RXTO followed
by RXSTARTED. This RXTO event shall be cleared as receiver is
actually restarted and not stopped.

Affected SoC is not in tree so Kconfig is added which enables
the workaround.

Upstream PR #: 88935

Signed-off-by: Krzysztof Chruściński <[email protected]>
(cherry picked from commit 2742e46)
…nect#292

Pull in zephyrproject-rtos/hal_nordic#292.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit c5033a2a53dedb69478c0aff45d9e600b0de209c)
…, not select

Turn the MBEDTLS_RSA_FULL selects into depends on.
This is how the other MBEDTLS_KEY_EXCHANGE_* Kconfig options are defined.

This is done to avoid circular dependencies.

At the same time update uses of the affected MBEDTLS_KEY_EXCHANGE_*
Kconfig options to enable/disable the dependencies which used to be
automatically handled.

Upstream PR #: 89200

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit deacfa35eb7bd9d2731ef7f16aedc9b14d1cc3b7)
Update the casting of the 'attr' parameter in pthread_cond_init to use
the correct variable name 'att'. Thanks clang for spotting the typo.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit f412cc6)
Fix ethernet_hw_caps initialization in ethernet.h for
strict type checking.

g++-12: include/zephyr/net/ethernet.h:957:38: error: invalid \
 conversion from 'int' to 'ethernet_hw_caps' [-fpermissive]

Signed-off-by: Daniel Nicoletti <[email protected]>
(cherry picked from commit b4f940d)
…for ZLL

BT_TICKER_LAZY_GET is a ZLL only kconfig and should not be selected for
other controllers.

Upstream PR #: 89249

Signed-off-by: Timothy Keys <[email protected]>
(cherry picked from commit d82bf446937522690e02ae9a9ce4e652db0b8bb0)
…TO_PRNG

PSA Crypto API always allow psa_generate_random() to be called (i.e. there
is no PSA_WANT_xxx symbol that can be used to disable it). How random
numbers are generated internally is a library internal detail, but the
end user (Bluetooth) does not need to worry about this.

Signed-off-by: Valerio Setti <[email protected]>
(cherry picked from commit 52dcb2593a8991278c1ae1be0cc423b1c66a1475)
Replace `CONFIG_NET_L2_IEEE802154` with `CONFIG_NET_L2_PHY_IEEE802154`
as `NET_LINK_ADDR_MAX_LENGTH` should be set to `8` for all IEEE 802.15.4
based L2, e.g. OpenThread.

Signed-off-by: Adrian Gielniewski <[email protected]>
(cherry picked from commit 39e051f37226d93364d7e6e3b078b3f19e1304a6)
…ning

Theoretically (if either `height` or `width` in `config` is set to 0),
the `ret` variable might be returned from `st7567_clear()` without
being initialized.
Add initialization of this variable to avoid compiler warnings.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit fee8eddc5baa2eb68a6f021f72625d2551b495a2)
…culations.

Code responsible for internal capacitor values containted
leftover workarounds in the calculations after PS update.
Removed redundant conversions and cleaned up both code
and comments to align both LFXO and HFXO calculation.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit 63f2fe9dd476eb24e90abc79650ab7b7247ad3a0)
Adopt to proper Path usage for nrf modules
Updated for upmerge.

nrf-squash! [nrf noup] ci: set `ZEPHYR_<MODULE_NAME>_KCONFIG` for NCS modules

Signed-off-by: Carles Cufi <[email protected]>
Signed-off-by: Torsten Rasmussen <[email protected]>
Remove CONFIG_PINCTRL.

nrf-squash! [nrf noup] boards: nordic: nrf7002dk: Bring back NS variants

Signed-off-by: Johann Fischer <[email protected]>
…t_config

The nRF GPIO hardware does not store the initial output value
set resulting from gpio_pin_configure() and thus, when
gpio_get_config() is used, the initial value is not returned.

This commit just reads the output value and sets the INIT
value to match in gpio_get_config().

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 08269963370be2188a7c1898066f0fd6a3c8cbeb)
nRF7120 PDK support that uses IPC as comms b/w APP and Wi-Fi domains.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 3953bb9ce343586e3036821bb93d46954b42ea71)
Set static or random MAC before calling net_linkaddr_set().

Signed-off-by: Seppo Takalo <[email protected]>
(cherry picked from commit 673853ae5a9b38c8d9f204ad1998b97a305020d8)
This reverts commit 5386a64.

Issue is no longer relevant. Simplify use of board by restoring
enabling secure ipc by default.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 89ba317a55d6a170807b1ee1d465929f1449ad61)
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
109 Security Hotspots
6.1% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)
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

@jfischer-no jfischer-no merged commit 9999e1c into nrfconnect:main May 13, 2025
66 of 74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment