Commit graph

2,588 commits

Author SHA1 Message Date
Pieter De Gendt
50578b8aa8 net: ip: icmp: Change net_icmp_handler_t return type to enum net_verdict
Update the return type of the ICMP callback handler to enum net_verdict.
This fixes an issue where currently all ICMP handler are passed the same
pkt. Handlers could have modified the passed packet resulting in undefined
behavior.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 10:06:42 +01:00
Grzegorz Swiderski
b9481fec19 modules: hal_nordic: ironside: Add NRF_MPCCONF_API_IN_RAM
Add an option for calling the MPCCONF service from RAM, by plugging in
the `__ramfunc` attribute via IronSide SE support package's glue layer.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2026-03-06 10:05:29 +01:00
Jonathan Nilsen
d6d7e7dd82 modules: hal_nordic: ironside: integrate minimal IronSide call driver
Integrate support for a minimal driver for IronSide SE IPC which is
thread-unsafe, uses busy waiting, and assumes that the IPC region
is uncached. The driver is included in the IronSide interface code
itself, and is enabled by defining IRONSIDE_SE_CALL_MINIMAL.
This is primarily intended to be used by MCUboot but can be used by
e.g. resource constrained single-threaded firmware.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-03-06 10:05:29 +01:00
Jonathan Nilsen
d96d69b8fc soc: nordic: uicr: add support for new UICR features
Add support to the UICR generator image for the new features
in the IronSide support package:

Split blob generation options like GEN_UICR_PERIPHCONF
into GEN_UICR_PERIPHCONF and GEN_UICR_GENERATE_PERIPHCONF to
allow configuring the blob address independently from generating
the blob itself.

Add support for generating a UICR MPCCONF blob by extracting a table of
entries from an image ELF file. The mechanism works mostly the same
as the UICR PERIPHCONF blob generation. When the UICR generator image
finds another image that has CONFIG_NRF_MPCCONF_SECTION=y, it will
extract the data from the section named 'mpcconf_entry' and include it
in build/uicr/zephyr.hex and either build/uicr/mpcconf.hex
or build/uicr/secondary_mpcconf.hex.

Add support to the UICR generator image for setting the
POLICY_MPCCONFSTAGE field via Kconfig. Setting this to INIT is
required to make use of the new ironside_se_mpcconf_write() API
added with IronSide SE v23.4.0+27, which is used to configure
global domain MPCs.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-03-06 10:05:29 +01:00
Merin George
9859b219b6 hal_infineon: btstack-integration: add CYW55513 firmware integration
Updates the build system within the BT stack integration layer to
identify and include the Bluetooth controller firmware images for the
CYW55513 connectivity module.

Signed-off-by: Merin George <merin.george@infineon.com>
2026-03-06 09:57:43 +01:00
Waqar Tahir
bf61068f8e modules: tf-m: add MCXA577 in tfm kconfig
Added MCXA577 support in trusted-firmware-m
module Kconfig.

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-03-05 10:04:11 +01:00
Nhat Ta
65fbe9c9aa drivers: ethernet: initial support for ethernet rmac driver
This commit add ethernet driver support for ra8x2.

Signed-off-by: Nhat Ta <nhat-minh.ta.yn@bp.renesas.com>
2026-03-05 04:38:09 +01:00
Nhat Ta
5fc6276541 drivers: entropy: add trng for ra8x2
This commit add entropy support for ra8x2.

Signed-off-by: Nhat Ta <nhat-minh.ta.yn@bp.renesas.com>
2026-03-05 04:38:09 +01:00
Robert Lubos
a909dc8296 net: ipv6: mld: Return 0 if address was already joined
In case address was already joined, return 0 instead of an error code to
avoid confusion.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-03-04 16:43:42 +00:00
Laura Carlesso
3e72854372 modules: hal_infineon: Get latest mtb-srf and minor changes
Update the module dependency for hal-infineon to
include updates from PR 43.
The new folder structure requires an update in the
CMakeList file for zephyr-ifx-cycfg.

Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-03-04 11:42:34 +01:00
Jakub Zymelka
1378615ede boards: nordic: Fix nRF54L05/L10 DEVELOP_IN targets
Fix nRF54L05/L10 DEVELOP_IN targets on nRF54L15 DK.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-03-03 19:15:28 +00:00
Johan Hedberg
0617c72457 modules: hal_silabs: Fix linking for Bluetooth Channel Sounding
RAIL depends on the LDMA and TIMER peripherals when Bluetooth Channel
Sounding support has been enabled, so be sure to include those in the
build for such configurations.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-03-03 13:30:27 +01:00
Michał Stasiak
4b0191ae6c modules: hal_nordic: add support for more PRS boxes
Added Kconfig options to select more PRS boxes.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-02 15:55:16 -08:00
Jakub Zymelka
166513d6ca boards: nordic: Add nRF54LM20A as DEVELOP_IN target
Add nRF54LM20A as DEVELOP_IN target on official LM20B DK.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-03-02 15:51:07 -08:00
Khoa Tran
dc4e092830 drivers: serial: Initial SAU UART driver support for Renesas RA0 series
Initial SAU UART driver support for Renesas RA0 series

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-02 10:48:45 +01:00
Peter Wang
8a0b4d715a boards: nxp: frdm_mcxa577: enable flash driver
enable flash driver for frdm_mcxa577
tested tests/drivers/flash/common/

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2026-02-27 08:00:30 +01:00
Brett Peterson
08f93f3fb0 drivers: i2s: add support for Infineon PSE84 device
Adds PDL-based I2S interface using the E84 TDM hardware.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-02-26 21:24:20 +00:00
Pavithra CP
69d2a4a30b cmake: fix SoC suffix regex parsing
Fixes incorrect CMake substring parsing that caused build failures on SoCs
with non-numeric suffixes (e.g., efr32fg1p). The previous logic extracted
'1p', which broke the linking path for librail_efr32xg1_gcc_release.a and
the protocol directory inclusion.

This adds regex to strip non-numeric characters for the library path and
appends 'x' for the major series wildcard directory.

Signed-off-by: Pavithra CP <cppavithra05@gmail.com>
2026-02-26 12:35:15 +01:00
Zhiyuan Tang
0a9b3e27b0 modules: hal_realtek: introduce OSIF for Bee SoC family
This commit introduces the Realtek OSIF (Operating System Interface)
layer, which is the standard OS abstraction layer defined for the
Realtek Bee SoC family.

While OSIF is designed to be common across the Bee SoC family, this
specific implementation adapts the layer for the RTL87x2G series
running on Zephyr.

OSIF encapsulates specific RTOS interfaces to provide a unified API.
This enables Realtek-specific modules—such as PHY, Power Manager,
Clock Manager, and BT Controller—to run on different RTOS environments
without modification, significantly enhancing portability.

The OSIF adaptation maps the following fundamental components to their
corresponding Zephyr kernel APIs:
- Task management and Scheduling
- Message queues
- Synchronization (Semaphores, Mutexes)
- Software timers
- Memory management

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-02-26 10:29:19 +01:00
Chaitanya Tata
84142d00e6 hostap: Remove EAP-LEAP that uses MD5
EAP-LEAP uses MD5, so, remove this method.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-02-26 10:26:51 +01:00
Chaitanya Tata
4dff25a314 modules: hostap: Enable FIPS by default
Thought MbedTLS is not FIPS compliant, enable FIPS to get rid of broken
crypto algos like MD5, CHAP etc.

This is not made configurable as we want to remove the the code for
those algos from the MbedTLS shim.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-02-26 10:26:51 +01:00
Chaitanya Tata
2373fcdb9d modules: hostap: Remove chap
CHAP is deprecated and shouldn't be used, this is in preparation for
FIPS like security.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-02-26 10:26:51 +01:00
Chaitanya Tata
fce2f70ee0 modules: hostap: Remove MD5
MD5 is deprecated and the security methods that use are not officially
supported in Zephyr (EAP-MD5, TLSv1 etc), so, remove the code related to
MD5 and disable it in hostap.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-02-26 10:26:51 +01:00
Michele Sardo
337750601c modules: openthread: platform: add UART_ASYNC_API support for platform
Updates the OpenThread UART platform shim to support the Zephyr
Asynchronous UART API (DMA-based). This improves performance and
reduces CPU overhead when running the OpenThread stack.

Additionally, introduces new Kconfig symbols:
- CONFIG_OPENTHREAD_COPROCESSOR_UART_ASYNC
to enable UART async API mode.

- CONFIG_OPENTHREAD_COPROCESSOR_UART_RX_BUFFER_SIZE
to allow users to configure the DMA RX buffer size when
OPENTHREAD_COPROCESSOR_UART_ASYNC is enabled.

Signed-off-by: Michele Sardo <msmttchr@gmail.com>
2026-02-25 13:18:07 +01:00
Alain Volmat
bbea7a8b90 modules: lvgl: fix LV_Z_BITS_PER_PIXEL default value
Fix the order of default in the Kconfig LV_Z_BITS_PER_PIXEL
in order to be able to have the value set automatically based
on the COLOR_DEPTH.
Without that since the default 32 was coming first, 32 would
always be selected.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-02-25 12:58:23 +01:00
Shontal Biton
4f66943327 drivers: counter: Add counter driver for BURTC in Silabs s2 and s3
Add support for using BURTC as regular counter,
without overriding the sleeptimer.

Signed-off-by: Shontal Biton <shontal1005@gmail.com>
2026-02-23 11:32:26 +00:00
Petr Buchta
7ac4ee593e boards: nxp: frdm_mcxe31b: Enable use of flash_c40
Configure DT for MCXE31B to use internal flash and its c40 controller.

Signed-off-by: Petr Buchta <petr.buchta@nxp.com>
2026-02-20 07:05:50 +01:00
Remi Buisson
e835c6a17f modules: hal_tdk: Update for icm45686 device family
icm45686 is a 6-axis IMU sensor.
https://invensense.tdk.com/products/motion-tracking/6-axis/icm-45686/

Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
2026-02-19 09:59:54 -06:00
Gaetan Perrot
854e8c3fcb modules: hostap: hapd_api: fix potential null pointer dereference
Prevent a possible NULL pointer dereference in
hostapd_ap_reg_domain() when get_hostapd_handle() returns NULL.

Previously, the function continued execution after detecting a NULL
interface pointer, which could lead to dereferencing iface->state.

Return early via a common exit path when errors are detected to
ensure safe execution.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-19 09:22:25 +01:00
Robert Lubos
61603ebdb1 net: openthread: Add missing CMake linkage to mbed TLS
OpenThread platform lib (psa_crypto.c specifically) needs access to mbed
TLS headers, therefore add explicit linkage in the library to avoid
build issues.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-02-18 14:44:15 +00:00
Michał Stasiak
5f8d1eb80d modules: hal_nordic: nrfx: remove UART instance specific symbols
No longer needed after switching to nrfx 4.1 API.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-02-18 10:31:16 +00:00
Adam Kondraciuk
38c736295a drivers: spi: spi_nrfx_spi: use standard instantiation
Switched nrfx_spi API to standard instantiation.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2026-02-18 10:31:16 +00:00
Adam Kondraciuk
6d14ea188c drivers: i2c: i2c_nrfx_twi: use standard instantiation
Switched nrfx_twi API to standard instantiation.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2026-02-18 10:31:16 +00:00
Krzysztof Chruściński
f3cbc13912 drivers: timer: nrf_rtc: Align to nrfx 4.1
Align to change in nrf_rtc HAL.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-18 10:31:16 +00:00
Michał Stasiak
39d64f17ca modules: hal_nordic: nrfx: bump API to version 4.1.0
Updated nrfx API version to 4.1.0.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-02-18 10:31:16 +00:00
Jonathan Nilsen
ceb55f56cc soc: nordic: uicr: make it possible to keep the PERIPHCONF section
Add a config that can be disabled to keep the PERIPHCONF data in the
firmware binary rather than stripping it. When the option is disabled
for a given image, the UICR generator does not include that image's
PERIPHCONF data in the UICR PERIPHCONF blob, instead it is expected that
it is loaded separately via an IronSide API call.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-02-18 10:30:59 +00:00
Yuzhuo Liu
10485d933d modules: hal_realtek: add Kconfig for Realtek Bee HAL
1. Add initial CMake and Kconfig files.
2. Add Kconfig for Realtek Bee HAL.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-02-17 15:22:38 +00:00
Jonathan Nilsen
352c4ae52a soc: nordic: uicr: use IRONSIDE_SUPPORT_DIR for the script location
Use the IRONSIDE_SUPPORT_DIR cmake variable to determine the location
of the UICR generator script location, to allow overriding the location
if needed.

Since the CMake that would normally set this variable in
modules/hal_nordic/ironside/se/CMakeLists.txt is not actually run in the
gen_uicr image, refactor the logic for setting the variable so that it
can be included in the gen_uicr image directly.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-02-17 12:18:57 +01:00
Brett Peterson
322a5c485e modules: hal_infineon: duplicate entries in cmakelists
removes duplicate source inclusion entries in cmakelists.txt

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-02-17 10:32:24 +01:00
Robert Robinson
54d9069522 soc/Kconfig: Create a config for nRF71 series soc compatible
SOC_COMPATIBLE_NRF7120_ENGA was erroneously being used in
KConfig filter and therefore not being applied, since soc configs are
generated at compile time. Created SOC_COMPATIBLE_NRF71 to be used at
KConfig build stage.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-16 09:02:34 -06:00
Paul He
6ccdc2d824 modules: openthread: remove leading -D from CMakeLists.txt
Any leading -D passed to target_compile_definitions on an item will
be removed, here remove them to make code style consistent.

Signed-off-by: Paul He <pawpawhe@gmail.com>
2026-02-16 09:00:09 -06:00
Paul He
56e5d47c32 modules: hal_rpi_pico: remove leading -D from CMakeLists.txt
Any leading -D passed to target_compile_definitions on an item will
be removed, here remove them to make code style consistent.

Signed-off-by: Paul He <pawpawhe@gmail.com>
2026-02-16 09:00:09 -06:00
Alex Fabre
428ec7cdc7 modules: canopennode: use k_timer for deterministic SYNC timing
Replace k_sleep() with k_timer and semaphore-based synchronization
in the CANopen SYNC thread for more deterministic wake-up timing.

Add configurable CANOPENNODE_SYNC_THREAD_PERIOD_US Kconfig option
to allow tuning the SYNC processing period.

Signed-off-by: Alex Fabre <alex.fabre@rtone.fr>
2026-02-13 18:57:32 +00:00
Jordan Yates
5348920295 modules: nrf_wifi: spi: optimise SPI RX transaction
Optimise the transactions queued by `spim_xfer_rx` to only require 2
sequences started by the SPI driver, instead of 3.

Previously:
  1. TX `sizeof(hdr)`, RX nothing
  2. TX nothing, finish receiving `sizeof(hdr) + discard_bytes`
  3. TX nothing, receive `len`

Now:
 1. TX `sizeof(hdr) + discard_bytes`, RX nothing
 2. TX nothing, receive `len`

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-02-13 18:57:19 +00:00
Jonathan Nilsen
50f5dfc7f3 manifest: update hal_nordic revision and IronSide SE support code
Pull in updated IronSide SE supporting code and adapt the Zephyr
integration layers:

* Implement the glue function interfaces for doing data cache operations,
  which are needed for some of the IronSide SE APIs.

* Add an option to the PERIPHCONF entry generator for not locking
  SPU registers. This will be used to enable reconfiguration of
  the SPU registers using an IPC call after their initial
  configuration at boot.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-02-13 09:48:31 -06:00
Valerio Setti
7fcd8563b8 modules: mbedtls: imply RSA legacy Kconfigs in ciphersuites using RSA
Ideally these legacy RSA Kconfigs shouldn't be used anymore, but
Mbed TLS still uses them as guards in TLS code.
When TF-M is disabled there is no need for this trick because Mbed TLS
automatically enables legacy support internally based on PSA_WANT
build symbols.
The problem arises when TF-M is enabled in the build. In this case there
is auto-enablement from PSA_WANT counterparts, so the build fails due
to lack of support.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-02-13 13:55:29 +01:00
Erik Tamlin
1b1b5bfd7c manifest: update percepio
Update the percepio module to use TraceRecorder v4.11.1

Signed-off-by: Erik Tamlin <erik.tamlin@percepio.com>
2026-02-12 20:03:39 +01:00
Michał Stasiak
290dcea170 modules: trusted-firmware-m: add nRF54LM20B support
Added TFM board reference to nRF54LM20B.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-02-12 14:26:44 +00:00
Michał Stasiak
0b438c3b4a modules: hal_nordic: add support for nRF54LM20B
Added compile definition translation and MDK links
for nRF54LM20B.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-02-12 14:26:44 +00:00
Michał Stasiak
1d71a8666e modules: trusted-firmware-m: remove Eng A naming for nRF54LM20A
SoC symbol changed.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-02-12 14:26:44 +00:00