Commit graph

136,983 commits

Author SHA1 Message Date
Fin Maaß
062facbab2 net: dsa: remove NET_DSA_DEPRECATED
remove the deprecated NET_DSA_DEPRECATED.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-23 15:01:57 -05:00
Fin Maaß
e02f974244 drivers: ethernet: native_tap: remove wrong vlan_setup
this is a leftover from when the vlan ifaces were not
virtual ifaces. With this currently in we would deactive lldp
on the main iface everytime a vlan is deactivated.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-23 15:00:38 -05:00
Jan Kowalewski
e69cafdbb4 mgmt: hawkbit: add missing CONFIG_ prefix
Adds missing CONFIG_ prefix to HAWKBIT_USE_STATIC_CERT_TAG ifdef.

Signed-off-by: Jan Kowalewski <jkowalewski@cthings.co>
2026-03-23 15:00:10 -05:00
Jilay Pandya
bbbff444b8 docs: release-notes: 4.4: sample and new API
- mention stepper_ctrl_configure_ramp
- mention tmcm3216 sample

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2026-03-23 14:59:54 -05:00
Mirai SHINJO
982d616243 doc: develop: fix stale Linux-only Zephyr SDK host tools notes
Zephyr SDK 1.0.0 provides host tools beyond Linux hosts [1], so remove
stale Linux only wording from the getting started and application docs.

[1] https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v1.0.0

Signed-off-by: Mirai SHINJO <oss@mshinjo.com>
2026-03-23 14:59:42 -05:00
Mirai SHINJO
06aff89d80 doc: develop: getting_started: drop x86-64 macOS related information
Zephyr v4.4 requires minimum Zephyr SDK version of 1.0.0.
Since Zephyr SDK 1.0.0 no longer provides x86-64 macOS bundles,
remove x86-64 macOS-specific getting started guidance.

Signed-off-by: Mirai SHINJO <oss@mshinjo.com>
2026-03-23 14:59:42 -05:00
Daniel DeGrasse
a9d3c17052 drivers: i3c: i3c_cdns: cast num_xfer to uint32_t pointer
On 64 bit systems, the num_xfer field in the CCC payload is
a 64 bit value (size_t). Cast it to a uint32_t pointer
to silence warnings when building the driver.

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2026-03-23 14:59:19 -05:00
Daniel DeGrasse
0d822e1793 drivers: i3c: i3c_cdns set manual command start after enabling interrupts
Don't start command queue until interrupts have been enabled.
otherwise for some very fast controllers, the queue could drain
before the interrupt is enabled.

This issue has been observed using functional simulations of
the CDNS I3C IP, but could logically also occur in hardware.

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2026-03-23 14:59:19 -05:00
Daniel Leung
223876cba4 twister: fix unnecessary trailing slash for toolchain variant
When TOOLCHAIN_VARIANT_COMPILER is empty, we should not append
a trailing slash (/) to ZEPHYR_TOOLCHAIN_VARIANT. Or else any
matching of ZEPHYR_TOOLCHAIN_VARIANT would be incorrect.

For example, ZEPHYR_TOOLCHAIN_VARIANT == 'xt-clang' and west
build would have it correct, while twister would have it as
'xt-clang/'. This prevents kconfig from matching correctly
(possibly among other things).

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-03-23 14:58:50 -05:00
Andrei Menzopol
b1ac653377 modules: openthread: Fix race condition
tx_job remains busy even after transmit_message finishes.
If ot thread handles the tx done (handle_tx_done) event
and tries to send another message will fail in run_tx_task
because the tx_job appears busy.
This will cause an assert to trigger in SubMac::BeginTransmit

This change makes handle_tx_done to wait for tx_job to free
before continuing.

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2026-03-23 14:58:25 -05:00
Francois Ramu
93f702a4b4 drivers: flash: stm32 xspi driver with HPDMA transfer
Enables the HPDMA on stm32 xspi flash transfer on the stm32H7rs series

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-23 14:57:56 -05:00
Francois Ramu
ab88831734 drivers: dma: stm32u5 dma driver use macro to retrieve the channel
Use the STM32_DMA_GET_CHANNEL macro for compatibility with
Stm32Cube HAL V2 model

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-23 14:57:56 -05:00
Francois Ramu
f9aa853411 drivers: dma: stm32 dma driver for stm32U5 compatible with HPDMA
The dma driver for stm32U5 compatible can support HPDMA instance
on the stm32h7rs series

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-23 14:57:56 -05:00
Francois Ramu
61ace8b1a7 boards: st: stm32h7rs boards have dma nodes enable
Enable the GPDMA1 and HPDMA1 on the stm32h7s78 disco kit
and the nucleo stm32h7s3l8

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-23 14:57:56 -05:00
Francois Ramu
c98fe98df1 dts: arm: stm32h7RS has HPDMA node
Add the HPDMA1 node to the stm32H7RS series

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-23 14:57:56 -05:00
Tim Pambor
c84c573837 fs: shell: increase max repeat limit for tests
Increase the maximum allowed repeat count for read and write/erase
test commands from 10 to 10000. This allows for more accurate
measurements over longer test durations.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-23 14:57:27 -05:00
Flavio Ceolin
c10aae8a8a west: tf-a: Bump TF-A to lts-v2.14.1
Bump TF-A to revision lts-v2.14.1

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2026-03-23 14:57:05 -05:00
Francis Roi Manabat
2a51ca6bc8 tests: build_all: Add build test for ADXL355
Add adxl355 sensor to build test.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-03-23 14:00:03 -04:00
Francis Roi Manabat
407e36f696 drivers: sensor: add ADXL355 3-Axis MEMS Accelerometers Support
This patch adds a new driver for the ADXL355 three-axis digital
accelerometer, implementing configuration, sampling,
and full-scale range controls according to the
ADXL355 datasheet (Analog Devices).

Features:
- I2C and SPI register access
- Sampling frequency (ODR) configuration
- Full-scale range selection (±2g/±4g/±8g)
- Standby/measure power modes
- Optional FIFO streaming support via RTIO
- Basic trigger and interrupt handling

Power management is supported via PM_DEVICE callbacks
to place the sensor in standby mode when suspended
and resume continuous measurement on resume.

References:
- ADXL354/ADXL355 Datasheet (Analog Devices)
  https://www.analog.com/media/en/technical-documentation/data-sheets/adxl354_adxl355.pdf

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-03-23 14:00:03 -04:00
Jukka Rissanen
f611a4e4d4 net: shell: wg: Add setup command
Add a way to add private key, peer endpoint and keepalive
when setting up the wireguard connection using the shell.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
3af900c600 net: shell: wg: Use SHELL_HELP() macro for help texts
This can save flash usage by allowing string sharing.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
6c27239865 net: wg: Make remaining PSA crypto helpers static
Couple of PSA crypto helper functions were not static so fix that.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
688d84b59a net: wireguard: Make blake2s private
Make blake2s private so that it cannot be used (easily) by other parts
of Zephyr codespace. The blake2s is part of the code until PSA will
have support for it. At that point the code will be removed and
replaced by the PSA calls.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
684653fd04 net: wireguard: Use PSA key management
Instead of using buffers for keys, use PSA key management to
store the keys. This is more safe than handling buffers in
the code directly.

Do some cleanup of the code structure and make the functions
in wg_psa.c static to disallow use outside of Wireguard.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
eb831e3876 doc: Add WireGuard VPN licensing info to license file
Add WireGuard VPN licensing information to LICENSE.rst file
in the documentation.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
510f802100 tests: net: all: Add Wireguard VPN compile test
Make sure Wireguard VPN code compiles with needed Kconfig options.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
c2b03321e3 sample: net: wireguard: Simple demo app
Simple demo app that creates VPN interface and can be tested
to connect to peer. The net-tools zephyr project contains
necessary scripts that setup the host side connectivity when
using native-sim board.

In host side you can setup Wireguard VPN connectivity like this

.../zephyrproject/tools/net-tools/net-setup.sh -c wireguard-vpn.conf

Signed-off-by: Jukka Rissanen <jukka.rissanen@gmail.com>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
dbcf7ef5e2 net: wireguard: Support RTC with native_sim board
If running wg in native-sim, use the host clock to get the
current time. This helps to have a proper handshake when
connecting even after restarting the zephyr.exe process.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
984ddc51c1 net: wireguard: Make getting current time extensible
Allow user to provide a function that will need to get
the current time from a RTC or SNTP or similar.
Wireguard handshake replay prevention needs a monotonic
time so the application should get it from somewhere.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
7a8348af4b net: wireguard: Send network events for VPN activity
Send peer add/del network event when the peers is either added
to the system or deleted from the system.
Send VPN connected / disconnected event when a VPN connection
is successfully established or the peer connection is disconnected.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
d09cee002f net: shell: wg: Print detailed peer information
The "net wg show 1" will show detailed information of the peer
id 1. This is useful when debugging connectivity issues.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
d4020814e2 net: shell: wg: Add VPN statistics support
Show VPN statistics support if enabled.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
14ced6a59f net: wireguard: stats: Add statistics support
Collect Wireguard VPN statistics and allow user to fetch it.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
cf40236791 net: shell: Add Wireguard VPN support
Add commands to manipulate Wireguard connectivity.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
bcffe6a0e1 net: wireguard: Add crypto support
The crypto code is taken from wireguard-lwip project at
https://github.com/smartalock/wireguard-lwip
and is BSD-3-Clause licensed code.

The Blake2 RFC 7693 and XChaCha20 (from
https://datatracker.ietf.org/doc/html/draft-arciszewski-xchacha-03)
cannot currently use PSA APIs.

The XChaCha20 is found in PSA 1.2 but Zephyr is not yet using that
version.

All the other crypto usage is converted to use PSA APIs.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
598806fe26 net: wireguard: Add DiffServ DSCP values
As described in https://www.wireguard.com/protocol/
set DSCP to AF41 for handshake messages. The transport data
DSCP is set to 0.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Jukka Rissanen
a239800f1a net: wireguard: Add initial implementation
Wireguard is a VPN implementation. See https://www.wireguard.com/
for details.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-23 13:58:58 -04:00
Graham Roff
22c8923263 scripts: Add script to generate an HTML dashboard
This change adds a script to generate an HTML dashboard, invoked via
west, providing a consolidated and user-friendly view of various build
artifacts and metrics. This includes footprint information (as both
tables and plots), configuration tracing, sys init levels, an interactive
devicetree browser, and more.

Signed-off-by: Graham Roff <grahamr@qti.qualcomm.com>
Signed-off-by: Martí Bolívar <mbolivar@oss.qualcomm.com>
2026-03-23 13:57:34 -04:00
Graham Roff
3637b3be8f scripts: check_init_priorities: Expose initlevels.
To allow other scripts to use the initlevel information determined
by the Validator class, expose an API to get them.

Signed-off-by: Graham Roff <grahamr@qti.qualcomm.com>
2026-03-23 13:57:34 -04:00
Graham Roff
fb613bfa53 scripts: footprint: Make plot.py useable by other scripts
In order to allow the plot.py functionality to be used by other
scripts, move the code into a separate function that can be
imported.

Signed-off-by: Graham Roff <grahamr@qti.qualcomm.com>
2026-03-23 13:57:34 -04:00
Guillaume Gautier
871ca88e9a tests: drivers: counter: basic_api: enable timers for nucleo_c5a3zg
Enable the timers nodes in the nucleo_c5a3zg overlay to fix CI compilation
issues.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-23 12:41:04 -05:00
Andre Viegas
c6fa8294dd drivers: sensor: tsl2540: fix double byte-swap
The lower ALS interrupt threshold (SENSOR_ATTR_LOWER_THRESH) was being
converted twice with sys_cpu_to_le16(), effectively canceling the
conversion on big-endian systems. The upper threshold
(SENSOR_ATTR_UPPER_THRESH) correctly uses a single conversion.

This causes the lower threshold register to be written in incorrect
byte order on big-endian architectures.

Signed-off-by: Andre Viegas <andreviegas@piscodeluz.org>
Assisted-by: Claude:claude-opus-4.6 forgeql
2026-03-23 12:40:10 -05:00
Yuzhuo Liu
1623ab1431 boards: realtek: bee: update doc for rtl87x2g and rtl8752h
This commit updates the documentation for Realtek rtl87x2g and rtl8752h
boards with the following changes:

- Removed redundant image references in the rtl87x2g documentation.
- Updated `west blobs fetch` command examples in both rtl87x2g and
  rtl8752h docs. The regex was modified from targeting only the `bin/`
  directory (e.g., `--allow-regex 'bee/rtl87x2g/bin/.*'`) to the entire
  SoC directory (e.g., `--allow-regex 'bee/rtl87x2g/.*'`). This ensures
  that all necessary libraries and binary blobs under the respective
  SoC paths are properly fetched.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-23 12:38:45 -05:00
Pisit Sawangvonganan
e2da1a07dc dts: bindings: fix typo
Use a code spell-checking tool to detect and fix spelling errors in
`.yaml` files under `dts/bindings`.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-03-23 12:38:22 -05:00
Albort Xue
dcc4b45b33 MAINTAINERS: Add Albort12138 as flash collaborator
Adding Albort12138 as collaborator.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-03-23 12:37:55 -05:00
Joel Guittet
1bc7ca35af samples: fix missing option in psa_crypto application
The option CONFIG_PSA_WANT_ALG_ECDSA is required to get sign_func.
Else, generation of the CSR fails with MBEDTLS_ERR_PK_TYPE_MISMATCH.

Signed-off-by: Joel Guittet <jguittet@witekio.com>
2026-03-23 12:37:32 -05:00
Adrian Warecki
73075d7c75 xtensa: mmu: Update K_MEM_PARTITION_P_RW_U_NA macro
Change K_MEM_PARTITION_P_RW_U_NA to use XTENSA_MMU_PERM_W instead of 0.
This grants write permission for privileged mode, while user mode remains
without access.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
2026-03-23 12:37:13 -05:00
Albort Xue
3f24fb1adc drivers: wuc: change LLWU driver init priority
Update DEVICE_DT_INST_DEFINE to use PRE_KERNEL_1 for llwu driver.
System timer(normal set as PRE_KERNEL_2) may depend of llwu driver.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-03-23 12:36:44 -05:00
Sylvio Alves
012848df1e samples: blinky_pwm: remove integration_platforms from sample.yaml
Remove esp32c3_devkitc from integration_platforms since it is
really not needed.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-23 12:36:17 -05:00
Sylvio Alves
2049facc72 tests: drivers: retained_mem: rename esp32c3_devkitm to esp32c3_devkitc
Rename board overlay to match the updated board name, otherwise
the build fails.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-23 12:36:17 -05:00