Commit graph

136,983 commits

Author SHA1 Message Date
Srikanth Boyapally
3628e91759 samples: spi_flash: Add versalnet_rpu board overlay for SPI NOR flash
Add device tree overlay for versalnet_rpu board to enable SPI NOR flash
support on the SPI1 controller. This overlay configures the MX25U3235F
flash device and enables running SPI flash samples on Versal NET RPU.

Signed-off-by: Srikanth Boyapally <srikanth.boyapally@amd.com>
2026-03-25 15:08:03 -04:00
Srikanth Boyapally
79904d5ff2 tests: boards: versalnet_rpu: add flash support and test overlay
Add flash to the supported feature list for versalnet_rpu and introduce
a board overlay to enable running flash common tests.

Signed-off-by: Srikanth Boyapally <srikanth.boyapally@amd.com>
2026-03-25 15:08:03 -04:00
Srikanth Boyapally
de8b9c2bc4 dts: vendor: amd: add cadence spi controllers to versalnet.dtsi
Adds spi controller nodes for Cadence SPI controllers in versalnet.dtsi

Signed-off-by: Srikanth Boyapally <srikanth.boyapally@amd.com>
2026-03-25 15:08:03 -04:00
Srikanth Boyapally
8cc69ce9a2 spi: cdns: Fix RX FIFO overflow and adjust RX accounting for slave mode
The Cadence SPI driver relied on a conditional guard around software RX
accounting (tx_remain_entry/fifo_diff) in spi_cdns_send(). During
opcode/address/dummy phases (e.g., SPI NOR reads), the RX segment may be
NULL (discard), causing the guard to evaluate false. This prevented the
driver from tracking RX entries generated by each TX entry and could
lead to RX FIFO overflow.

Fix this by always decrementing tx_remain_entry and incrementing
fifo_diff for every TX FIFO entry pushed. Since SPI is full‑duplex, each
TX entry clocks in one RX entry, regardless of whether the client
provides an RX buffer for that phase. The ISR drains RX while fifo_diff
> 0, so keeping fifo_diff accurate prevents overflow.

Also update spi_cdns_recv() RX context handling to be mode-aware:
- In slave mode, advance RX context only when an RX buffer is present.
- In master mode, advance RX context for each received frame.

This keeps slave receive accounting consistent while preserving correct
master behavior, and aligns with the software-tracking approach used to
avoid unreliable RX_NOT_EMPTY status (AR#65885).

As part of this change, refactor spi_cdns_recv() to reduce cognitive
complexity and improve readability, without changing functional behavior.

Signed-off-by: Srikanth Boyapally <srikanth.boyapally@amd.com>
2026-03-25 15:08:03 -04:00
Aleksandr Khromykh
ed7adfd635 bluetooth: mesh: fix solicitation data length
Commit fixes potential solicitation data length underflow.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-03-25 15:07:41 -04:00
Dharun krithik k
8e685503d8 boards: cy8cproto_041tp: Add SPI loopback test nodes
Add slow@0 and fast@0 SPI devices for loopback testing

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
2026-03-25 15:07:29 -04:00
Yves Wang
4a03b585c3 tests: watchdog: reduce EWM reset_none sleep time
Reduce CONFIG_TEST_WDT_SLEEP_TIME for drivers.watchdog.reset_none_ewm.

This aligns the feed interval with the current MCXW7x tick timing and
keeps the reset_none_ewm testcase within the effective EWM feed

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-25 15:07:14 -04:00
Fabian Blatz
92a78dfa89 drivers: watchdog: wdt_cc32xx: Remove unused variable
Fix build failure caused by unused `rv` variable.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-03-25 15:07:02 -04:00
Benjamin Cabé
95a583c6c8 include: drivers: fpga: document FPGA driver ops using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
FPGA driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-25 15:06:52 -04:00
Benjamin Cabé
553452583c samples: net: http_server: add basic CSS styling
The HTML file is gzipped so for only about 300 bytes extra, add a minimal
CSS so that the page looks nicer, especially on mobile.

Assisted-by: ChatGPT:gpt-5.4
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-25 15:06:19 -04:00
Robert Lubos
3ab9c201e0 net: Validate CONFIG_NET_LINK_ADDR_CUSTOM_LENGTH value
In case a custom CONFIG_NET_LINK_ADDR_CUSTOM_LENGTH LL address length is
used, validate that the configured value satisfies the requirements
coming from other enabled L2 layers, otherwise those L2s may be defunct.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-03-25 15:06:03 -04:00
Robert Lubos
4f09d6bcbc net: wifi: Fix static SSID logging
When logging statically configured network SSID, use the Kconfig string
instead of a SSID buffer where it was copied to, as the latter is not
guarantee to be NULL terminated.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-03-25 15:05:53 -04:00
Robert Lubos
90d9d8e12d net: wifi: credentials: Verify statically configured SSID and password
In case CONFIG_WIFI_CREDENTIALS_STATIC is used, verify the statically
configured SSID/password lengths to guarantee they don't exceed the
allowed SSID and password character limits and thus overflow credential
buffers.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-03-25 15:05:53 -04:00
Paulo Santos
aa27e4567c doc: develop: manifests: external: add zview
Introduce documentation for using ZView, a Zephyr RTOS runtime
visualizer, as an external module into Zephyr.

This module provides system-wide thread and heap statistics via an
SWD debug probe, with zero on-target footprint. It integrates into
the west build system through a dedicated west command, allowing
users to monitor any existing or new Zephyr application without
modifying the firmware beyond standard thread introspection Kconfig
options.

Signed-off-by: Paulo Santos <pauloxrms@gmail.com>
2026-03-25 15:05:40 -04:00
Benjamin Cabé
e6f9a96a51 include: drivers: Bluetooth document BT HCI driver ops using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
BT HCI driver operations

Assisted-by: Cursor:composer-2
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-25 15:05:30 -04:00
Anas Nashif
ee1b2fac88 ci: increase number of runners on push
As the number of tests/samples we build/run on push increases over time,
increase distribution by 5 runners to allow for faster turnaround when
merging batches of PRs.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-03-25 15:05:07 -04:00
Benjamin Cabé
b93e61d02d include: drivers: flash: mchp: fix doxygen for mchp_nvmctrl_g1 flash exops
Use proper Doxygen commands so that 100% of the mchp_nvmctrl_g1.h
header is documented.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-25 08:04:57 -04:00
Mathieu Choplain
74693aa1e1 dts: arm: st: stm32wb0: add interrupts on BLE Radio & Radio timer
The BLE driver and Radio Timer driver register ISRs for interrupts that are
not declared in the Devicetree. Since CONFIG_NUM_IRQS is now determined
automatically based on IRQn appearing in active Devicetree nodes, this now
causes build failures.

Add missing interrupts in the SoC DTSI to fix build failures.
Further cleanup of the aforementionned drivers to actually obtain IRQn from
DT properties should be done at a later time.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-25 08:04:46 -04:00
Mathieu Choplain
327e9b9031 dts: bindings: timer: stm32wb0-radio-timer: include base.yaml
We need to add properties such as interrupts in DT for these devices.
Add them to the binding by including `base.yaml`.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-25 08:04:46 -04:00
Fin Maaß
fdd0b71828 boards: espressif: esp32_ethernet_kit: enable ethernet by default
If a board is called a ethernet_kit, ethernet should be enabled
by default. Also without this being enabled, the esp32 ethernet driver
is not build tested by the ci.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-25 08:04:32 -04:00
Mark O'Donovan
91dc165b59 boards: common: Fix MAX32660 remaining halted after flashing
The allow_low_pwr_dbg option causes the MAX32660EVSYS to remain
halted after flashing, unlike the MAX32662, or MAX32670.

Signed-off-by: Mark O'Donovan <mark.odonovan@analog.com>
2026-03-25 07:59:27 -04:00
Tyler Joseph Huffman
3b4c3c01c8 tests: spi: Fixed an issue with a missing definition for a SPI test.
This fixes an issue that causes all SPI tests run natively on the
nRF54LM20-DK to fail. Furthermore, this adds a clarification in the
README.txt so that this test intention is clear about being run on only one
device, and not two.

Signed-off-by: Tyler Joseph Huffman <tyler@tylerh.org>
2026-03-25 07:59:17 -04:00
Benjamin Cabé
67dae091d5 drivers: include: led_strip: use doxygen aliases to document driver ops
Apply the recently introduced driver_ops Doxygen macros to the LED
Strip driver API. This standardizes how driver operations are
documented, making it easier for developers to distinguish between
mandatory and optional operations directly in the public API
documentation.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-25 07:59:03 -04:00
Carlo Caione
cb959fdb58 lorawan: native: add PM_DEVICE support to sx126x driver
Register a pm_action callback that disconnects RF GPIO pins
(antenna enable, TX/RX FE_CTRL) on suspend and reconfigures
them on resume.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-25 07:58:52 -04:00
Carlo Caione
7592b10996 lorawan: native: fix DIO1 interrupt not re-enabled when sleep disabled
When CONFIG_LORA_SX126X_NATIVE_SLEEP=n, sx126x_ensure_ready() returned
immediately without re-enabling the DIO1 interrupt. On the STM32WL the
radio ISR disables itself on entry (irq_disable), so the interrupt must be
explicitly re-armed before each TX/RX operation.

This caused every send after the first to time out because the TX_DONE
interrupt was never delivered.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-25 07:58:52 -04:00
Mario Paja
564966d29a samples: i2s: output: enable i2s on nucleo h723
This change enables I2S3 on Nucleo H723

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2026-03-25 07:58:34 -04:00
Mohamed Azhar
763227907b drivers: spi: microchip: Updates SPI g1 driver
Includes file for mapping DFP macros to follow a common macro
name for sercom spi g1 driver
Optimizes the driver

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2026-03-25 07:58:21 -04:00
Hake Huang
4d5a378454 tests: pm: power_mgmt_soc: enable measurement on rt1060
enable power measure on power_mgmt_soc for
mimxrt1060_evk@C

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-03-25 07:58:05 -04:00
Thomas Stranger
a4f6990a24 docs: security: cra: update ossf cra link
Link to the curated page with information about the related
working group and documents instead of the link listing
all articles tagged with cra.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2026-03-25 07:57:31 -04:00
Holt Sun
250d291ccb soc: nxp: kinetis: wire LMEM cache support
Wire the Kinetis LMEM-capable SoCs into the generic cache
management path by selecting the LMEM driver, enabling the
available instruction and system-bus cache capabilities, and
defaulting these parts to CACHE_MANAGEMENT with the external
cache backend.

Keep MCUX eDMA descriptors in the default SRAM placement on
SYSMPU-based Kinetis parts. Their SRAM region remains outside
the cached LMEM area, so they do not use the generic
NOCACHE_MEMORY path.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-25 07:57:21 -04:00
Holt Sun
94722df194 modules: hal_nxp: select LMEM cache component
Enable the MCUX LMEM cache component when a SoC selects
HAS_MCUX_LMEM_CACHE.

This keeps LMEM header and source selection inside the HAL
component layer instead of requiring Zephyr-local include
path workarounds in the cache driver build.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-25 07:57:21 -04:00
Holt Sun
8b2f55272a drivers: cache: add NXP LMEM system cache ops
Add LMEM data-cache operations to the NXP LMEM cache driver for
SoCs that expose the system-bus cache and select CONFIG_DCACHE.

Rely on SoC Kconfig capability selection instead of driver-local
unsupported stubs so instruction-only LMEM parts only build
instruction-cache support.

This keeps one driver for both instruction-only LMEM parts and
SoCs that also expose the LMEM system-bus cache.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-25 07:57:21 -04:00
Benjamin Cabé
bca3c027ff doc: doxygen: update doxygen awesome to v2.4.2
Fixes a few rendering issues with code fragments + overall compatibility
improvement with Doxygen 1.14+

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-25 07:56:34 -04:00
Camille BAUD
1eb897d206 drivers: gpio: Fix and extend GPIO irqs for BL70xL
Configuration per reg was wrong, also it supports both edges.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-25 07:56:19 -04:00
Jose Morales
986fc3ad52 drivers: spi: spi-nrfx-spim: add missing init for anomaly 58 workaround
After #99399 the workaround for errata 58 in nRF52 chips is removed from
zephyr RTOS and is now part of the nrfx sdk. The initial glue code
between zephyr->nrfx 4.0.0 missed the initializatio of the errata 58
workaround. This commit adds the initialization to the glue code. Given
the errata only applies to nRF52 chips, is safe to assume there is a
single GPIOTE instance present.

Signed-off-by: Jose Morales <josfemova@gmail.com>
2026-03-25 07:56:05 -04:00
Fabian Blatz
c12245ce61 drivers: gpio: grgpio2: Initialize polmask always
Ensure the polmask variable is always initialized.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-03-25 07:55:49 -04:00
Benjamin Cabé
3aae5274d8 include: drivers: ipm: document IPM driver ops using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
IPM driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-25 07:55:37 -04:00
Mirai SHINJO
9197a00a88 scripts: west: sdk: fail cleanly if the host bundle checksum is missing
'west sdk install' assumes the host-specific minimal SDK archive
always has a matching entry in sha256.sum and aborts with a Python
KeyError when it does not.

Detect the missing checksum entry and report a normal
west fatal error instead.

Without this patch:

west sdk install --install-base ../
KeyError: 'zephyr-sdk-1.0.0_macos-x86_64_minimal.tar.xz'

With this patch:

west sdk install --install-base ../
FATAL ERROR: No Zephyr SDK 1.0.0 bundle found for host
macos-x86_64.

Signed-off-by: Mirai SHINJO <oss@mshinjo.com>
2026-03-25 07:55:24 -04:00
Jonathan Nilsen
75eae03f93 soc: nordic: uicr: fix outputs and dependencies
Update the UICR generator image to correctly track outputs and
dependencies as these depend on the options provided. This fixes
an issue where the UICR generation step was always rebuilt when
secondary PERIPHCONF was disabled, since secondary_periphconf.hex
was specified as an output but never produced. It also fixes
missing outputs/dependencies for mpcconf.hex/secondary_mpcconf.hex.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-03-25 07:55:11 -04:00
Krzysztof Chruściński
0f7c3590bd drivers: misc: nordic_vpr_launcher: Add hiberante mode support
In order to use HIBERNATE sleep mode, retention of RAM block used
for hibernating the VPR core need to be enabled. Contrary to all other
blocks, retention for this block is usually by default disabled.

Add property to vpr coprocessor node which indicates if hibernation
is going to be used. It need to be used on nRF54L to achieve low
idle current. On nRF54H20 it is not needed as DEEPSLEEP mode gives
good idle current (~5 uA).

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-03-25 07:54:55 -04:00
Jamie McCrae
3001181251 include: storage: flash_map: Fix PARTITION_NODE_OFFSET
Fixes this macro when it used with a child node of a top level
fixed-subpartitions node

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-25 07:54:45 -04:00
Jamie McCrae
eef1d35ef8 dts: bindings: mtd: fixed-(sub)partitions: Add missing include
Adds a missing include of base.yaml which meant some properties
were not available when using the CMake dt functions

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-25 07:54:34 -04:00
Dave Joseph
d734f3b7ed clock_control: tisci: Fix argument order in tisci_cmd_clk_is_on/off
Fix swapped dev_id and clk_id arguments in the calls to
tisci_cmd_clk_is_on() and tisci_cmd_clk_is_off() within
tisci_get_status(), aligning them with the TISCI API signature.

Signed-off-by: Dave Joseph <d-joseph@ti.com>
2026-03-25 07:54:11 -04:00
Grzegorz Swiderski
6606d98686 MAINTAINERS: Update "West project: hal_nordic" area
Include the maintainers/collaborators from "nRF IronSide SE Platforms".
This is to enable collaboration on the `hal_nordic` repository, where
the IronSide SE support code is distributed.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2026-03-25 07:53:58 -04:00
Amneesh Singh
f4e25a3f50 drivers: adc: am335x_ti: fix log format specifier
Change format specifier to %zu for size_t. While at it, also change
required_size to size_t, for better compatibility. This prevents
compilation warnings.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2026-03-25 07:53:17 -04:00
Henrik Brix Andersen
896964688e drivers: can: sam: fix message RAM address for sama7g5
Use CAN_MCAN_DT_INST_MRAM_ADDR() for setting the Bosch M_CAN message RAM
address from DTS as this takes the message RAM offset into account.

Fixes: #105113

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-03-25 07:53:02 -04:00
Camille BAUD
93cc308192 soc: bflb: Fix typo in Kconfig names BL602L
Fix using lowercase L instead of uppercase L

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-25 07:52:50 -04:00
Henrik Brix Andersen
d2453e139d drivers: usb: device: stm32: fix shadowed variable
Rename "_msg" variable to "msg" to avoid shadowing the "_msg" variable used
in the LOG_* macros.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-03-25 07:52:34 -04:00
Maureen Helm
77b0ef9da9 release: Zephyr 4.4.0-rc1 v4.4.0-rc1
Set version to v4.4.0-rc1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2026-03-24 16:45:58 -05:00
Henrik Brix Andersen
ec96df7efa manifest: update hal_ti to fix unitialized variable warnings
Fix warnings about uninitialized variables in the dl_timer.c file.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-03-24 16:45:43 -05:00