Commit graph

136,983 commits

Author SHA1 Message Date
Aksel Skauge Mellbye
116e81fb6b soc: silabs: Enable RF path switch configuration
Configure and enable the RF path switch at boot if present.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-17 18:19:13 -04:00
Aksel Skauge Mellbye
22fc7d257c dts: bindings: net: wireless: Add RF path switch to Silabs radio
Add properties describing an RF path switch on Silabs Series 2
radios.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-17 18:19:13 -04:00
Aksel Skauge Mellbye
52f1869e08 soc: silabs: Make radio init generic
Add a more generic function `soc_radio_init` to enable additional
operations to be performed as part of radio init.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-17 18:19:13 -04:00
alperen sener
75b6f202ff tests: bluetooth: tester: add subrating request BTP CMD
Adding subrating request BTP CMD to tester. Since ZLL does not
support subrating, it is not enabled by default in tester config.

Subrating request is already supported by AutoPTS GAP.

Signed-off-by: alperen sener <alperen.sener@nordicsemi.no>
2026-03-17 18:19:04 -04:00
Roman Leonov
638731f438 drivers: usb: host: Fixed small typo in description
Fixed small typo in doxygen description interace -> interface.

Signed-off-by: Roman Leonov <jam_roma@yahoo.com>
2026-03-17 18:18:49 -04:00
Michał Stasiak
a8e6e17c22 drivers: i2c: nrfx_twim: use timeout error code
Using different, more appropriate, error code in
case of timeout, to differentiate from regular EIO.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-17 18:18:41 -04:00
Cheng-Yang Chou
d67038c7e7 kernel: fix z_tick_sleep unsigned comparison when !CONFIG_TIMEOUT_64BIT
When CONFIG_TIMEOUT_64BIT is not set, k_ticks_t is uint32_t. The previous
code cast left_ticks through int32_t but then stored the result back in
k_ticks_t (uint32_t), losing the sign. The subsequent ticks > 0 check was
therefore an unsigned comparison, causing a past-due wakeup (where the
subtraction wraps to a large uint32_t) to be misread as a large positive
remainder and propagated up through k_sleep() as INT_MAX ms.

Fix by retaining the signed intermediate and comparing it directly as
int32_t so negative remainders (past-due) correctly fall through to
return 0.

Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
2026-03-17 18:18:28 -04:00
Aric Radzin
0c9c959f71 doc: improve west completion setup for bash
A pre-existing ~/.bashrc file might not finish with a newline character.
In that case, a setting just appended to it would not register.
To avoid such a case, make the permenant west completion setup for bash
not rely on it and explicitly add a preceding newline caharcater.

Signed-off-by: Aric Radzin <aric.radzin@gmail.com>
2026-03-17 18:18:18 -04:00
Etienne Carriere
0505085d0c soc: st: stm32wba: disable debug when powering off
Disable debug support when powering off through the SoC STANDBY
state to prevent draining current.

When CONFIG_STM32_ENABLE_DEBUG_SLEEP_STOP is enabled, debug remains
powered in standby state which is expected when sleeping but not when
powering off.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-17 18:18:07 -04:00
Etienne Carriere
53dc8d1268 soc: st: stm32f1: disable debug when powering off
Disable debug support when powering off through the SoC STANDBY
state to prevent draining current.

When CONFIG_STM32_ENABLE_DEBUG_SLEEP_STOP is enabled, debug remains
powered in standby state which is expected when sleeping but not when
powering off.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-17 18:18:07 -04:00
Etienne Carriere
0fad29251d soc: st: stm32l1: disable debug when powering off
Disable debug support when powering off through the SoC STANDBY
state to prevent draining current.

When CONFIG_STM32_ENABLE_DEBUG_SLEEP_STOP is enabled, debug remains
powered in standby state which is expected when sleeping but not when
powering off.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-17 18:18:07 -04:00
Etienne Carriere
9b03adb4fe soc: st: stm32l1: use stm32_enter_poweroff() helper function
Use stm32_enter_poweroff() helper function to reach poweroff
state on stm32l1x SoCs.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-17 18:18:07 -04:00
Vedant Malkar
0774e2418e Drivers: Stepper: use DEVICE_API_GET in the stepper headers
replaces all direct dev->api calls with DEVICE_API_GET
macro in stepper.h and stepper_ctrl.h

Signed-off-by: Vedant Malkar <vedantitsme@gmail.com>
2026-03-17 18:17:57 -04:00
Fin Maaß
8843c50f3e net: ethernet: lldp: use sys_timepoint_* api
use sys_timepoint_* api.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:17:46 -04:00
Fin Maaß
061e7ff951 net: ethernet: lldp: simplify of changed vlan ifaces
as there is now a 1:1 relationship beween
struct ethernet_context and struct net_if
we can simplify the logic here,.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:17:46 -04:00
Fin Maaß
d089a201dc net: ethernet: lldp: use net_if_oper_state to check up ifaces
use `NET_IF_OPER_UP` to check if the iface is
already up, this is also the state that corespondes with
NET_EVENT_IF_UP.

Also move `net_if_foreach(iface_cb, NULL);`
after `net_mgmt_add_event_callback()`, so we won't
miss any up event.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:17:46 -04:00
Fin Maaß
fe56ee8794 net: ethernet: lldp: use K_WORK_DELAYABLE_DEFINE
use K_WORK_DELAYABLE_DEFINE macro.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:17:46 -04:00
Brett Peterson
9eb4d55a00 tests: drivers: i2s: i2s_speed: PSE84 eval M33 and AI kit support
Adding overlay and conf files to the i2s_speed test to enable testing on
the PSE84 eval M33 and the PSE84 AI kit.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-17 18:17:31 -04:00
Brett Peterson
4ad263d04a tests: drivers: i2s: i2s_api: PSE84 eval M33 and AI kit support
Adding overlay and conf files to the i2s_api test to enable testing on
the PSE84 eval M33 and the PSE84 AI kit.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-17 18:17:31 -04:00
Brett Peterson
1443d8edbb boards: infineon: kit_pse84_ai: adding i2s to supported lists
Adding i2s to the supported lists in kit_pse84_ai_m33.yaml and
kit_pse84_ai_m55.yaml.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-17 18:17:31 -04:00
Brett Peterson
772c94d778 boards: infineon: kit_pse84_eval: adding i2s to m33 supported list
Adding i2s to supported list in kit_pse84_eval_m33.yaml.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-17 18:17:31 -04:00
Glenn Andrews
81485240c2 Debug: coredump: Fix error checking
Fix error-checking bug in Zephyr `coredump_shell.c` for
`coredump_cmd(COREDUMP_CMD_COPY_STORED_DUMP, ...)`. The function
returns the number of bytes copied (≥ 0) on success and a negative
errno on failure, but the existing checks used `ret != 0` which
incorrectly treated a successful non-zero byte count as an error.

This bug prevented the coredump printing shell commands from working.

signed-off-by: Glenn Andrews <andrewsglenn@meta.com>
2026-03-17 18:17:17 -04:00
Sylvio Alves
88ec127f61 samples: net: wifi: shell: remove unused includes and blank line
Remove unnecessary kernel.h and errno.h includes that are not
used in the minimal main function, and remove extra blank line.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-17 18:17:11 -04:00
Stephanos Ioannidis
935a5283f1 scripts: tests: twister_blackbox: Update Zephyr SDK toolchain name
This commit updates the Twister Black Box tests to expect the enhanced
toolchain variant names (i.e. `host/gnu` and `zephyr/gnu`).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
109099c962 scripts: twisterlib: Update Zephyr SDK gcov path
Update the gcov executable path for Zephyr SDK 1.0.0.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
a3a3908c51 secure_storage: Document SECURE_STORAGE_ITS_STORE_SETTINGS_NAME_BUF_SIZE
Document `SECURE_STORAGE_ITS_STORE_SETTINGS_NAME_BUF_SIZE` enum to appease
the Doxygen coverage check ...

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Anas Nashif
ea41428980 twister: tests: adapt for new zephyr sdk 1.0
Fix toolchain detection which now has a compiler part.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
d7963adefa doc: Update 'llvm' toolchain variant references
This commit updates all stale references to the `llvm` toolchain variant to
`host/llvm`.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
c2e6d5861b scripts: ci: errno: Check errorno against picolibc
Zephyr SDK 1.0.0 has dropped newlib support and made picolibc the default
libc.

This commit updates the errno check script to check minimal libc error
numbers against the picolibc error numbers.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
a066b866be doc: toolchains: Update for Zephyr SDK 1.0.0
This commit updates the Zephyr SDK documentation to reflect the changes
introduced by the Zephyr SDK 1.0.0 release.

Note that Zephyr SDK now has two different types of distribution bundles:
GNU and LLVM, each suffixed with `_gnu` and `_llvm`, respectively.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
a69b8062ec SDK_VERSION: Use Zephyr SDK 1.0.0
This commit updates SDK_VERSION to point to the Zephyr SDK 1.0.0 release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
39df3de600 ci: Switch to CI image v0.29.0
This commit updates the CI workflows to use the CI image v0.29.0, which
includes the Zephyr SDK 1.0.0.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
d204d24876 cmake: Set minimum required Zephyr SDK version to 1.0
This commit updates the minimum required Zephyr SDK version to 1.0.

This is mandated by the new SDK directory layout scheme as well as the dual
(GNU and LLVM) compiler support in the SDK.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
fc6753a60c tests: llext-edk: Update Zephyr SDK toolchain path
Zephyr SDK 1.0 has relocated the GNU toolchains to under `gnu` directory.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
b2b6ec0db8 ci: clang: Set host/llvm toolchain variant
In the new toolchain variant scheme, the host LLVM/Clang toolchain is named
`host/llvm`.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Keith Packard
8a6ef440c5 cmake: Support both toolchain directory layouts
Until https://github.com/zephyrproject-rtos/sdk-ng/pull/936 is merged,
SDK 0.18 is incompatible with previous versions as the paths to
find the cmake bits is different.

Deal with that by checking for files in the wrong place as well as the
right one.

Signed-off-by: Keith Packard <keithp@keithp.com>
2026-03-17 15:43:52 -04:00
Keith Packard
d84909a7fc modules/trusted-firmware-m: zephyr/gnu toolchain has a different path
The SDK has gratuitously moved all gcc toolchains to a subdirectory; adapt
to that by adding 'gnu/' when necessary

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Anas Nashif
bfdce6d25f cmake: toolchain: support multiple compiler types for Zephyr SDK
Support specifying compiler type for Zephyr SDK in the
ZEPHYR_TOOLCHAIN_VARIANT variable.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Anas Nashif
3bf6c859ef twister: support new toolchain variant syntax
support new syntax involving compiler and toolchains with multiple
compilers, i.e. zephyr/gnu

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Anas Nashif
180f667812 cmake: toolchain: combine host variants
Combine toolchains provided by the host into one variant. This includes
both gcc and llvm installation typically coming from the distribution
(on Linux).

Both gcc and llvm are now part of the 'host' variant, the default is the
gnu compiler, so setting

	ZEPHYR_TOOLCHAIN_VARIANT=host

Will select the gnu compiler. To select llvm or any other compuler
provided in this variant, use the follwoing format:

	ZEPHYR_TOOLCHAIN_VARIANT=<variant>/<compiler>

The following will select llvm:

	ZEPHYR_TOOLCHAIN_VARIANT=host/llvm

Although gnu is the default, it can also be selected using the above
syntax:

	ZEPHYR_TOOLCHAIN_VARIANT=host/gnu

This commit removes the llvm variant for now, it should be deperecated
in another commit to follow.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
0f33efdd9e cmake: clang: Override -Wno-volatile with -Wno-deprecated-volatile
Override the GCC-specific `-Wno-volatile` flag specified by GCC
`compiler_flags.cmake` with the Clang-equivalent
`-Wno-deprecated-volatile`.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
3e2af76f99 cmake: linker: lld: Do not link libc when minimal libc is used
When LLVM linker is used, the toolchain-provided C standard library is
always linked, even when the Zephyr minimal libc is selected, because `c`
is unconditionally specified in `link_order_library`, which causes `-lc` to
be specified in the linker flags.

This commit adds a check to ensure that `-lc` is not specified when the
Zephyr minimal libc is selected because it is a standalone C standard
library and it does not make sense to link two C standard libraries at
once.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
c4b76b8fa0 lib: cpp: Enable POSIX and GNU C extensions for libc++
LLVM C++ Standard Library aka. libc++ makes use of POSIX and GNU C
extensions in its headers.

While far from ideal, there is no other option but to globally enable these
extensions for C++ source files in order to ensure that libc++ headers can
be used.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
5b0d53fcdc tests: libcxx: Add LLVM libc++/picolibc test
This commit adds a new C++ standard library test variant that builds with
Picolibc and LLVM C++ Standard Library aka. libc++ on the supported
toolchains (e.g. LLVM Embedded Toolchain for Arm and Zephyr SDK LLVM).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
75e4503f17 lib: cpp: Allow selecting libc++ with picolibc
LLVM C++ Standard Library aka. libc++ may be used with Picolibc -- for
example, LLVM Embedded Toolchain for Arm ships with Picolibc and libc++
compiled for Picolibc, and so does Zephyr SDK LLVM toolchain.

Ideally, we would a flag like `TOOLCHAIN_HAS_LIBCXX_PICOLIBC` indicating
that toolchain has libc++ compiled specifically for Picolibc; but, we do
not want to overcomplicate the toolchain feature flags at this time without
proper underlying infrastructure to handle it.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
ea2f4b2375 tests: libcxx: Filter libstdc++ tests by TOOLCHAIN_HAS_GLIBCXX
Run libstdc++ tests only using the toolchains that have libstdc++ (i.e.
GCC-based toolchain).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
7550cc1ae4 cmake: toolchain: Introduce TOOLCHAIN_HAS_LIBCXX
This commit introduces `TOOLCHAIN_HAS_LIBCXX` CMake variable, which is set
to `y` when LLVM C++ Standard Library aka. libc++ is available.

This helps filter libc++-specific Kconfig and tests in a more refined
manner.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
d5f8b3032d cmake: toolchain: Introduce TOOLCHAIN_HAS_GLIBCXX
This commit introduces `TOOLCHAIN_HAS_GLIBCXX` CMake variable, which is
set to `y` when GNU C++ Standard Library aka. libstdc++ is available.

This helps filter libstdc++-specific Kconfig and tests in a more refined
manner.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Stephanos Ioannidis
f989ab93de scripts: west_commands: sdk: Rename --toolchains arg to --gnu-toolchains
This commit renames the `--toolchains` and `--no-toolchains` arguments,
which control the SDK GNU toolchain installation, to `--gnu-toolchains` and
`--no-gnu-toolchains` to avoid any confusion with the SDK LLVM toolchain.

The old `--toolchains` and `--no-toolchains` arguments remain supported
with a deprecation warning message.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:21 -04:00
Stephanos Ioannidis
09b9554a06 scripts: west_commands: sdk: Support Zephyr SDK 1.0.0
This commit updates the west sdk command to support the Zephyr SDK 1.0.0
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:21 -04:00