Commit graph

136,983 commits

Author SHA1 Message Date
Sebastian Głąb
8876363d3f samples: drivers: audio: Enable dmic sample on nrf54lm20b
Add overlay required to run the dmic sample on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 11:35:15 +00:00
Sebastian Głąb
0fba7a62f6 tests: drivers: audio: Enable dmic_api test on nrf54lm20b
Add overlay required to run the dmic_api test on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 11:35:15 +00:00
Sebastian Głąb
e8eb98280a tests: drivers: i2s: Enable i2s_additional test on nrf54lm20b
Add overlay required to run the i2s_additional test on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 11:35:15 +00:00
Sebastian Głąb
610d62d70a tests: drivers: timer: Enable nrf_grtc_timer test on nrf54lm20b
Add nrf54lm20b to the platform allow list.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 11:35:15 +00:00
Sebastian Głąb
1f40ebe2a2 tests: boards: nrf: hwinfo: Enable reset_cause test on nrf54lm20b
Add overlay required to run the reset_cause test on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 11:35:15 +00:00
Sebastian Głąb
2d8fae2af6 samples: drivers: Enable spi_flash sample on nrf54lm20b
Add overlay required to run the spi_flash sample on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 11:35:15 +00:00
Pieter De Gendt
16aded5d1f net: lib: sockets: tls: Use struct net_sockaddr_storage for stack variables
Replace instances of struct net_sockaddr with struct net_sockaddr_storage
for stack variables.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 11:34:00 +00:00
Pieter De Gendt
74732cd6fc net: lib: sockets: tls: Use struct net_sockaddr_storage for caches
Storing a socket address should be done with the designated struct
net_sockaddr_storage type instead of the opaque struct net_sockaddr.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 11:34:00 +00:00
Pieter De Gendt
bcc4c0bb1e net: lib: sockets: tls: Validate addrlen before memcpy
Prevent writing data that is larger than the destination struct's size.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 11:34:00 +00:00
Zhiyuan Tang
c8c36d32b7 soc: realtek: select GEN_ISR_TABLES for rtl87x2g
The function `z_isr_install()` is used during the rtl87x2g SoC init,
necessitating `GEN_ISR_TABLES`.

Enabling this config also correctly causes the `arch.arm.irq_vector_table`
testcase to be filtered out (skipped). This is expected behavior as that
test is intended for configurations without `GEN_ISR_TABLES`.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-03-06 11:33:46 +00:00
Alberto Escolar Piedras
fc2b1b2f3e drivers: uaol: Do not enable by default UAOL
Do not enable this driver class by default.
Whoever needs it should select it instead.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-06 11:33:35 +00:00
Fin Maaß
9e5bab8815 docs: migration-guide: 4.4: add some missing github references
add some missing github references.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-06 10:10:18 +01:00
Benjamin Cabé
5f87c74157 doc: conf.py: exclude EOL release notes and migration guides from build
This avoids having to touch release notes and migration guides for EOL
releases when e.g. some references to boards or code samples need
updating. Note that release notes and migration guides for actively
maintained releases will still be built after this changes so they still
can be impacted by the aforementioned types of updates.

URLs for EOL release notes and migrations are still valid but they
redirect to the "releases/eol_releases" page.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-06 10:08:55 +01:00
Alberto Escolar Piedras
7b49dfd343 subsys/fs/fuse: Avoid using libC defined types in interface
Let's avoid using off_t in the interface between the embedded and the
host side of the FUSE driver.
off_t is a C library defined type and as such can have a different sizes
between the host C library and the embedded C library.

While at it, let's do also the same with size_t. Even though size_t is
meant to be defined in stddef.h which is provided by the compiler, it is
possible to override it in the embedded side.

We just replace them with a 64 bit type for each (signed and unsigned
respectively matching the signedness of off_t and size_t).

There was a bug in the queue type which had the read/write second
parameter as off_t while it should have been size_t, which is now fixed
to be uint64_t.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-06 10:08:41 +01:00
Pieter De Gendt
af4749d0a0 net: lib: coap_client: Store destination address in request
A CoAP client should not be limited to a single destination address for all
requests.
Store the destination address for each request or use the existing socket
directly.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 10:07:35 +01:00
Pieter De Gendt
5a1e482db6 tests: net: lib: coap_client: Use struct net_sockaddr_storage
Store the destination in a dummy struct net_sockaddr_storage variable
instead of a struct net_sockaddr.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 10:07:35 +01:00
Pieter De Gendt
20d67096c0 tests: net: lib: coap: client: Define dummy Kconfig as 1 instead of y
Kconfig symbols expand to 1, not y in C code. Fix the compile definition.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 10:07:35 +01:00
Fin Maaß
def8ae0708 drivers: ethernet: Remove NULL checks for iface initialization
WIth the rework of the vlan handeling, the iface init
will only be executed once per instance, so we don't need
that check anymore.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-06 10:07:27 +01:00
Tomi Fontanilles
38badc7620 modules: mbedtls: fix up indentation of defined() statements
Align to use the same pattern.
Mostly intended to verify the changes in the checkpatch script.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-03-06 10:07:11 +01:00
Tomi Fontanilles
4b9666afbe scripts: checkpatch: allow lines starting with 4 spaces and defined(
It's a pattern that exists in the codebase and makes for much more
readable multi-line `#if defined` statements.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-03-06 10:07:11 +01:00
Pieter De Gendt
7eff871354 doc: releases: migration: 4.4: Add net_icmp_handler_t update
Add a note to the networking section about the ICMP callback handler
update.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 10:06:42 +01:00
Pieter De Gendt
a69f9e2fb9 net: lib: shell: ping: Validate identifer/sequence on response
Check if the ping reply is a response to our ping request.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-06 10:06:42 +01:00
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
Hong Nguyen
a661b3c595 drivers: gnss: globaltop_pa6h: Introduce new driver
Basic support for GlobalTop PA6H GNSS module.

API added: set_fix_rate, get_fix_rate, set_enabled_systems,
and get_enabled_systems.

Signed-off-by: Hong Nguyen <hong.nguyen.k54@gmail.com>
2026-03-06 10:06:34 +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
Grzegorz Swiderski
6a291d185a boards: nrf54h20dk: Add partitions for UICR MPCCONF
Add `mpcconf_partition` and `secondary_mpcconf_partition` to the board's
default memory map.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2026-03-06 10:05:29 +01:00
Grzegorz Swiderski
8f80c824d7 manifest: update hal_nordic revision with IronSide SE support package
Update hal_nordic revision to pull in updated IronSide SE supporting
code.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-03-06 10:05:29 +01:00
Andre Heinemans
52c4fbb931 fs: shell: add mv command
Files can be moved or renamed by this 'mv' command

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2026-03-06 10:05:20 +01:00
Mathieu Choplain
85a2aee476 soc: st: stm32n6: initialize NPU at device priority
Use the more appropriate KERNEL_DEVICE priority as default for the NPU
instead of KERNEL_DEFAULT. While at it, also clean up the NPU-specific
Kconfig file by using an `if` block to gate symbols.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 10:00:12 +01:00
Tim Pambor
a5edb9aa2c flash: spi_nand: support reset operation
Add support for reset extended operation to clear all volatile register
settings. Notably, ECC enable and block protection registers are not
reset by a soft reset.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-06 10:00:03 +01:00
Zhaoxiang Jin
811b4ac252 west.yml: update hal_nxp to include the latest devices
update hal_nxp to include the latest devices.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-06 09:59:06 +01:00
Joakim Tjernlund
ce5397ef01 arm64: Enable CNTPS for EL1
Setting SCR_ST_BIT actually traps CNTPS access to EL3, opposite
to what the comment says. Remove to allow secure EL1 access.
Also initialize CNTPS_CVAL_EL1 to prevent spurious interrupts.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Co-authored-by: Sudan Landge <sudan.landge@arm.com>
2026-03-06 09:58:56 +01:00
Benjamin Cabé
7e1f424e80 dts: bindings: vendor-prefixes: remove non-breaking spaces for sipeed
sipeed vendor name had non-breaking spaces in it, which is probably not
desirable in such a low-level, very much text-only, file. Replaced with
normal whitespace characters.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-06 09:58:01 +01:00
Merin George
3705631e15 boards: infineon: kit_pse84_ai: enable ble support
This update configures the board to support the CYW55513
Murata 2FY connectivity module by enabling the required
Kconfig symbols and defining the HCI UART interface in
the Devicetree

Changes:
- dts: Enable the Infineon HCI UART node with hardware flow control.
- pinctrl:  Configured UART pins (TX, RX) and hardware flow control
  pins (RTS, CTS) specifically for the Bluetooth HCI interface
- defconfig: Adjusted CONFIG_MAIN_STACK_SIZE to provide sufficient
  headroom for the Bluetooth HCI driver and event processing.

Signed-off-by: Merin George <merin.george@infineon.com>
2026-03-06 09:57:43 +01:00
Merin George
8c2ad47c5a boards: infineon: kit_pse84_eval: enable ble support
This update configures the board to support the CYW55513 connectivity
module by enabling the required Kconfig symbols and defining the
HCI UART interface in the Devicetree

Changes:
- dts: Enable the Infineon HCI UART node with hardware flow control.
- pinctrl:  Configured UART pins (TX, RX) and hardware flow control
  pins (RTS, CTS) specifically for the Bluetooth HCI interface
- defconfig: Adjusted CONFIG_MAIN_STACK_SIZE to provide sufficient
  headroom for the Bluetooth HCI driver and event processing.
- kconfig: make AIROC_WIFI6 selection conditional on WIFI to fix
  dependency warnings in BLE-only builds.

Signed-off-by: Merin George <merin.george@infineon.com>
2026-03-06 09:57:43 +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
Merin George
832b5f65c7 drivers: bluetooth: update Infineon HCI UART transport for CYW55513
Introduces common Kconfig configurations for the CYW55513 connectivity
module, supporting both Murata 2FY and discrete implementations.

Additionally, updates the HCI driver to include a new vendor-specific
command required for updating the SCO route to PCM

Signed-off-by: Merin George <merin.george@infineon.com>
2026-03-06 09:57:43 +01:00
Merin George
563ec38fc6 drivers: serial: infineon: updated hardware flow control support
Update the Infineon PDL UART driver to support Zephyr's standard
UART hardware flow control configuration.

Flow control is now derived from uart_config.flow_control allowing
applications to enable RTS/CTS using the generic UART API and
devicetree settings

configure the RTS rx fifo trigger level when flow control is enabled

Signed-off-by: Merin George <merin.george@infineon.com>
2026-03-06 09:57:43 +01:00
Braeden Lane
bcabb78333 boards: cy8ckit_041s_max: Add GPIO to defconfig
Add default GPIO support for the Infineon CY8CKIT-041S MAX
evaluation kit, including default Kconfig configuration with
GPIO enabled.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-03-06 09:57:30 +01:00
Braeden Lane
d2968baecb samples/tests: add cy8ckit_041s_max support for pwm tests
Adds board-specific configuration and Devicetree overlays to support
the blinky_pwm sample and pwm_gpio_loopback test on the CY8CKIT-041S-MAX
development board.

Changes:
- Added overlay for blinky_pwm sample enabling PWM output and pin
  configurations.
- Added overlay for pwm_gpio_loopback test with loopback path defined
  as PWM output on P2.0 and GPIO input on P2.1.
- Enabled GPIO driver required for loopback verification.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-03-06 09:57:30 +01:00
Braeden Lane
b8c6198a28 dts: arm: infineon: psoc4: add TCPWM interrupts and indexes
Extends the PSOC 4100S MAX support by configuring TCPWM
hardware interrupts and indexes.

- Defined interrupts (mapping to IRQs 17-24) and priorities for all
  eight TCPWM instances (tcpwm0_0 to tcpwm0_7) in psoc4100smax.dtsi.
- Add the 'index' property to TCPWM nodes to explicitly define
  their hardware instance number

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-03-06 09:57:30 +01:00
Jose Alberto Meza
5c996247ce samples: drivers: espi: Refactor sample code to ease extensions
CAF eSPI flash API sample code and documentation about EC region
TAF eSPI APIs sample code

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-03-06 09:57:13 +01:00
Jakub Michalski
09363c56cc posix: fix sem_destroy EBUSY test
This commit modifies this test to properly check EBUSY condition

Signed-off-by: Jakub Michalski <jmichalski@antmicro.com>
2026-03-06 09:57:01 +01:00
Jakub Michalski
c7673b634f posix: fix sem_destroy EBUSY return condition
The EBUSY return condition was incorrect and e.g. sem_destroy was in some
cases reporting this error even if no thread was blocked by this semaphore.
This commit fixes that by checking the waitqueue instead of the semaphore
count.

Signed-off-by: Jakub Michalski <jmichalski@antmicro.com>
2026-03-06 09:57:01 +01:00
Mathieu Choplain
13f9f503e6 drivers: sensor: stm32_vref: obtain calibration data using NVMEM
Update bindings to consume a NVMEM cell instead of raw addresses, and
update the driver to support obtaining calibration data using the NVMEM
subsystem. For backwards compatibility and reduced footprint, the old
mechanism (direct MMIO read) is retained; a Kconfig option is introduced
to allow selecting which mechanism is used.

The sensor binding and SoC DTSI is updated accordingly.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 09:56:42 +01:00
Mathieu Choplain
d5bd2cd573 drivers: sensor: stm32_temp: obtain calibration data using NVMEM
Update bindings to consume a NVMEM cell instead of raw addresses, and
update the driver to support obtaining calibration data using the NVMEM
subsystem. For backwards compatibility and reduced footprint, the old
mechanism (direct MMIO read) is retained; a Kconfig option is introduced
to allow selecting which mechanism is used.

The sensor binding and SoC DTSI is updated accordingly.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 09:56:42 +01:00
Mathieu Choplain
d3a82f7895 drivers: otp: introduce driver for STM32 NVM OTP
Introduce OTP driver for OTP/read-only areas in STM32 SoCs NVM.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 09:56:42 +01:00
Mathieu Choplain
9d26ae6633 dts: arm: st: stm32: add NVM OTP regions
Add NVM OTP regions in DTSI of all STM32 SoCs: one region containing
calibration & other similar data, and (sometimes) another that can be
programmed in the field.

The temperature sensor and VREFINT calibration parameters are also added as
NVMEM cells in anticipation of a driver rework.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 09:56:42 +01:00