Commit graph

136,983 commits

Author SHA1 Message Date
Alberto Escolar Piedras
0738cf846c modem: cmux: Fix trivial warning building with clang
Fix `error: label followed by a declaration is a C23 extension`
warning.

Issue introduced 0d3883516f

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 15:06:06 +01:00
Aiden Hu
fb3ae541cf usb: host: refine connect/disconnect handling
The attach and detach flow was previously scattered across bus event
handlers and class code, causing duplicated enumeration and class
probe/remove logic. Root-device state was also manipulated directly in
the host context, which made lifecycle handling implicit and limited
the ability to support devices behind a hub.

This update introduces common helpers for device attach and detach and
replaces direct root access with simple accessor functions. By unifying
enumeration and teardown into a single path, the control flow becomes
clearer and more consistent, and the host stack is no longer tied to a
single-root assumption. These changes form the basis for supporting
multiple devices attached through a hub in future updates.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2026-03-17 10:25:34 +00:00
Lauren Murphy
4ebb22e710 llext: platform_exclude qemu_x86_tiny readonly_mmu
Adds qemu_x86_tiny/atom to platform_exclude for
llext.readonly_mmu per #105603.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-03-16 19:09:49 -05:00
Sudan Landge
c022f14783 tests: arch: arm: restrict arm_switch to Cortex-M QEMU/FVP
Limit the test to Cortex-M QEMU/FVP simulator platforms to avoid build
failures caused by board-specific drivers selecting features (e.g.
EVENTS) that depend on MULTITHREADING, which this test disables.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2026-03-16 19:09:34 -05:00
Axel Le Bourhis
f79fbba954 soc: nxp: mcxw7x: set the core voltage to 1.1V at 96MHz
When the system clock operates at 96MHz, the core voltage must be
raised to 1.1V to ensure stability.
This fixes spurious resets occuring mainly during clock initialization.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-03-16 19:09:20 -05:00
David J. Leach, Jr.
fd62462389 drivers: sensor: icm42x70: validate FIFO packet count
The driver was using a packet count value read directly from the
hardware to control a loop bound and a register read size. If the
hardware reported a value exceeding the internal buffer size, it
could lead to a buffer overflow or an untrusted loop bound.

Add a check to cap the packet_count based on the actual size of
the driver's FIFO data buffer.

Fixes #90512

Signed-off-by: David J. Leach, Jr. <tasmar@gmail.com>
2026-03-16 19:08:53 -05:00
Tharaka Jayasena
22c25e9595 net: ethernet: bridge: ensure valid MAC
The random_linkaddr() function may generate MAC addresses with the
multicast bit set. Source MAC addresses must not be multicast, and
randomly generated virtual interface addresses should have the
locally administered (LAA) bit set.
Force the LAA bit and clear the multicast bit after generating the
random address.

Signed-off-by: Tharaka Jayasena <9dmpires2k17.tuj@gmail.com>
2026-03-16 19:08:41 -05:00
Tim Pambor
a444599bbc ethernet: dwmac_stm32h7x: add support for STM32H5 series
H5 series SoCs have a similar Ethernet MAC to the H7 series,
but with some differences with respect to configuration of phy
interface type. As they use a Cortex-M33 core, they have no cache,
so that dma descriptors are always in non-cached memory.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-16 19:07:55 -05:00
Tim Pambor
ad286e4cd0 ethernet: dwmac_stm32h7x: add support for STM32H7RS series
H7RS series SoCs have a similar Ethernet MAC to the H7 series,
but with some differences with respect to configuration of phy
interface type.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-16 19:07:55 -05:00
Tim Pambor
d664a564dd ethernet: dwmac_stm32h7x: support configuration of phy connection type
Configure phy connection type to value specified in device tree.

Utilize definitions from STM32 Low-Level APIs instead of open coding
values.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-16 19:07:55 -05:00
David J. Leach, Jr.
5509ab12bc drivers: sensor: icm4268x: annotate intentional unsigned comparison
The IS_ACCEL macro checks if a channel is within the accelerometer
range. Because SENSOR_CHAN_ACCEL_X currently evaluates to 0 and
the channel type is unsigned, Coverity flags this as a redundant
comparison.

Added a coverity[unsigned_compare] annotation to silence the warning.
This preserves the macro's logic, ensuring the check remains valid
even if the underlying enum order is modified in the future.

Fixes #100002

Signed-off-by: David J. Leach, Jr. <tasmar@gmail.com>
2026-03-16 19:07:28 -05:00
Eira Siegel
14f7d496ae drivers: sensor: st: Pass internal return values to fetch caller
Several of the ST sensor implementations do not return a value to
the fetch caller, even when a fetch fails internally. This is
fixed by returning the value from the internal calls.

Signed-off-by: Eira Siegel <eira@the.cy>
2026-03-16 19:07:11 -05:00
Jamie McCrae
01cf5768a0 sysbuild: cmake: Use supplied image for variant source image
Fixes wrongly using the default image instead of the supplied
user image in the variant image function

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-16 19:06:50 -05:00
Mathieu Choplain
c1ccdb5d68 include: kernel: fix k_mutex structure description
Align the k_mutex description with other kernel object structures by using
`@brief` and similar wording. Also drop the unnecessary `@ingroup`: the
sturcture is already enclosed in `@defgroup mutex_apis`.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-16 19:06:21 -05:00
Mathieu Choplain
3e6439f32c include: kernel: add missing @cond INTERNAL_HIDDEN gates
Add missing Doxygen condition comments that should have hidden fields
or macros from appearing in the documentation.

While at it, also update kernel structure comments to indicate that members
are are internal (when appropriate).

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-16 19:06:21 -05:00
Mathieu Choplain
b0b2ade525 include: kernel: document all kernel object structures
Various kernel object structures lacked a documentation comment. Add one
to all of them, following the already existing comments.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-16 19:06:21 -05:00
Mathieu Choplain
a2755d31e8 include: kernel: harmonize @cond INTERNAL_HIDDEN usage
Harmonize the various places where the Doxygen `@cond INTERNAL_HIDDEN`
command is used across kernel.h such that they are all consistent:
- always use the wide comment variant
  /**
   * cond / endcond
   */
- always add INTERNAL_HIDDEN before `@endcond`
- one newline before `@cond` comment, no newline after
- no newline before `@endcond` comment, one after
- stick to leftmost column (similar to #if/#endif)

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-16 19:06:21 -05:00
Nicolas Pitre
cdbebacaec cmake: remove underscore prefix on local variables
Address review feedback: avoid _ prefixing local CMake variables
as it conflicts with the convention used for function overloading.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2026-03-16 19:05:49 -05:00
Seppo Takalo
3abf8e47b0 modem: cmux: Add checks for frame decoding
Check for:
* valid frame type
* valid address (range 0..63)
* command decoding length.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-03-16 19:05:20 -05:00
Seppo Takalo
0d3883516f modem: cmux: Remove double buffering from RX
Remove double buffering that was using a separate work_buffer.
Receive and parse frames directly into receive_buffer instead.

This saves MODEM_CMUX_WORK_BUFFER_SIZE of RAM and avoids
one copy from work_buffer to receive_buffer.

Driver already asserts if the receive buffer does not fit
maximum frame, so it should be properly sized.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-03-16 19:05:20 -05:00
Emil Gydesen
113791607c Bluetooth: Document opaque types
Bluetooth uses a variety of opaque types with varying levels
of documentations. However doxygen won't pick up these struct
unless they explicitly contain the @struct keyword.

This commit adds @struct for all opaque types, which allows them
to show up in the documentation (as opaque types), but also
allows us to @ref them from other places.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 19:04:51 -05:00
Emil Gydesen
ce46777957 Bluetooth: CAP: Shell: Set correct stream_cnt for ac_14
AC 14 is stereo on a single BIS, so that is 1 stream with
2 channels.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 19:04:26 -05:00
Pieter De Gendt
90ed20dbc6 net: lib: addrinfo: Use struct net_sockaddr_storage
Replace the struct net_sockaddr in zsock_addrinfo with struct
net_sockaddr_storage.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-16 19:04:02 -05:00
Chaitanya Tata
7ea4fcb35f manifest: hostap: Pull fix for TTLS-MSCHAPv2
Pull fix for EAP-TTLS-MSCHAPv2.

Fix issue #105108.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-03-16 19:03:08 -05:00
Vitor Sato Eschholz
3bd66dc346 boards: phyboard_polis: doc: fix board overview image
The image been shown in the Board Overview does not correspond to the
phyBOARD-Polis.

Rename phyBOARD-Polis.jpg to match board's name and be shown in the
Board Overview as expected.

Signed-off-by: Vitor Sato Eschholz <vsatoes@baylibre.com>
2026-03-16 19:02:40 -05:00
Vitor Sato Eschholz
55d6dbea6f boards: phyboard_polis: doc: add description for A53 Core
Support to Zephyr OS on A53 cluster was added to phyboard_polis.
Update the docs to reflect this.

Signed-off-by: Vitor Sato Eschholz <vsatoes@baylibre.com>
2026-03-16 19:02:40 -05:00
Vitor Sato Eschholz
12009ad498 boards: phyboard_polis: add support for A53 and SMP
The phyBOARD-Polis, platform for the phyCORE-i.MX 8M Mini/Nano, is
composed of a quad Cortex-A53 cluster and a single Cortex-M4 core.

Zephyr OS has already been ported to run on the Cortex-M4 core. Port
it to run on the Cortex-A53 adding a variant with SMP (Symmetric
Multiprocessing) enabled.

Signed-off-by: Vitor Sato Eschholz <vsatoes@baylibre.com>
2026-03-16 19:02:40 -05:00
Vitor Sato Eschholz
a7ef484224 dts: imx8mm: add UART3 node
Add UART3 node.

Signed-off-by: Vitor Sato Eschholz <vsatoes@baylibre.com>
2026-03-16 19:02:40 -05:00
William Markezana
191926f5a0 tests: drivers: build_all: add Sensirion STCC4 sensor
Add STCC4 to the sensor build_all test suite.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-16 19:02:13 -05:00
William Markezana
6011b07c5c drivers: sensor: add Sensirion STCC4 CO2 sensor driver
Add driver for the Sensirion STCC4 miniature CO2 sensor. The STCC4
measures CO2 concentration (ppm), temperature, and humidity via I2C
using Sensirion's standard word+CRC protocol.

Features:
- Continuous and single-shot measurement modes
- CRC-8 validation on all sensor data
- Product ID readout at init
- Graceful handling of first measurement delay in continuous mode

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-16 19:02:13 -05:00
William Markezana
f2ec5870fb dts: bindings: add Sensirion STCC4 CO2 sensor binding
Add devicetree binding for the Sensirion STCC4, a miniature CO2 sensor
based on thermal conductivity. The sensor communicates via I2C and
provides CO2, temperature, and humidity readings.

The binding supports a required "mode" property (int enum) to select
between continuous and single-shot measurement modes, using constants
from dt-bindings/sensor/stcc4.h.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-16 19:02:13 -05:00
Jean-Pierre De Jesus DIAZ
42c7d8e60e boards: ti: Add cc1312r1_launchxl
Adds support for the LAUNCHXL-CC1312R1 board from Texas Instruments,
supports turning off the two on-board LEDs and the buttons also work
correctly, the device tree file changes the default values from
other LaunchXL boards for the buttons and UART since these differ.

And also updates the revision of hal_ti to get CC1312R support.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2026-03-16 19:01:47 -05:00
Jean-Pierre De Jesus DIAZ
fe9e759b50 soc: simplelink: Add cc1312r
This adds the CC1312R SoC by Texas Instruments, this requires virtually
no changes since the cc13x2_c26x2 family of SoCs already implement
everything.

One thing not yet enabled is the IEEE 802.15.4g Sub-GHz
driver for this SoC because I can't download SmartRF Studio
due to access constraints from TI.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2026-03-16 19:01:47 -05:00
Jean-Pierre De Jesus DIAZ
cde85a66ab drivers: watchdog: cc13xx_cc26xx: fix unused variable.
Removed the options variable on wdt_cc13xx_cc26xx_init
which was only initialized to zero and not used.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2026-03-16 19:01:47 -05:00
Braeden Lane
3a753b0582 boards: infineon: Add DMA to supported list
Add DMA to the list of supported features for the CY8CKIT-041S-MAX board.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-03-16 19:01:06 -05:00
Braeden Lane
5636ce6a58 tests: drivers: dma: add cy8ckit_041s_max support
Add board overlay and configuration files to support dma tests
on CY8CKIT-041S-MAX.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-03-16 19:01:06 -05:00
Braeden Lane
8e63de5bf0 dts: arm: infineon: add dma support for psoc4100smax
Add DMA controller node to PSOC 4100SMAX device tree and introduce
the corresponding binding file `infineon,dmac.yaml`.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-03-16 19:01:06 -05:00
Sreeram Tatapudi
c8bdb35f9f soc: Infineon: pse84: Updates to align with the hal_infineon changes
Updates to align with the latest assets from the hal_infineon repo

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-16 19:00:42 -05:00
Sreeram Tatapudi
2b8810997d west: update hal_infineon to the latest assets
Update the hal_infineon module to revision
3ae25facf70c296145f6e12aa10b4810d49c2b33.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-16 19:00:42 -05:00
Benjamin Cabé
bbe0e8980e doc: requirements: update to latest Sphinx version
Now that we support Python 3.12, we can update to the latest Sphinx
version.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-16 19:00:16 -05:00
Benjamin Cabé
007eee71a9 boards: shields: seeed_xiao_hsp24: update sample reference
Recommend people try the shield with the s3km1110 sample.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-16 18:59:55 -05:00
Benjamin Cabé
da47b85394 samples: sensor: add sample for S3KM1110 sensor
This adds a new sample exercising the S3KM1110 sensor driver and its
custom channels.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-16 18:59:55 -05:00
Benjamin Cabé
93bcbd03d5 boards: shields: add Seeed Studio 24GHz mmWave Sensor for XIAO
Add a new shield definition for the Seeed Studio 24GHz mmWave Sensor for
XIAO, tested with XIAO ESP32C6.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-16 18:59:55 -05:00
Benjamin Cabé
727b3cbde1 drivers: sensor: s3km1110: Add support for S3KM1110 24GHz mmWave sensor
This adds a new sensor driver (with custom channels) for the S3KM1110, a
24GHz mmWave radar sensor from Iclegend that uses a UART interface.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-16 18:59:55 -05:00
Benjamin Cabé
dbce59aa38 dts: bindings: vendor-prefixes: add new vendor prefix for ICLegend
Adds a new vendor prefix for Iclegend Microelectronics Co., Ltd.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-16 18:59:55 -05:00
Josuah Demangeon
4e2a4c2696 drivers: video: shell: support more than 10 completions
The video shell uses a workaround to have different sub-commands use
different completions. Raise the limit of maximum completions from 10 up
to 20 to support more devices.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-16 18:59:44 -05:00
Josuah Demangeon
3b92cb59db drivers: video: shell: add a "video tree" command
Add a "video tree <device>" command to show the topology of video devices.
This follows the chain of source devices as defined by
VIDEO_DEVICE_DEFINE() in the macros.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-16 18:59:44 -05:00
Josuah Demangeon
79aa7e3845 drivers: video: shell: fix shell tab completion when device fails
The tab completion was not showing the valid devices after the failed
devices. Fix it by continuing to search for devices after a failed device.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-16 18:59:44 -05:00
Josuah Demangeon
7ecb1d032f drivers: video: shell: add tab completion for "video selection ..."
Add support for completion for the "video selection" shell command.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-16 18:59:44 -05:00
Christopher Cope
f8800c8ab3 drivers: gnss: Add L5 system support
This adds L5, BeiDou and QZSS satellite systems to enum ```gnss_system```

Signed-off-by: Christopher Cope <chris.cope@roedan.com>
2026-03-16 18:59:12 -05:00