Commit graph

126,787 commits

Author SHA1 Message Date
Chris Friedt
2d652e363e doc: migration guide: posix_time.h, posix_signal.h, posix_limits.h
Add notes in the migration guide that users should no longer include
`<zephyr/posix/time.h>` or `<zephyr/posix/signal.h>`, and to include
them in the standard paths, along with `<limits.h>`.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-19 20:51:52 -04:00
David Boullie
a040028412 modules: hal_silabs: Add config for SiSDK Protocol Crypto
A Kconfig options for the SiSDK Protocol Crypto library, which provides
accelerated cryptographic primitives using the RADIOAES peripherals for
Series-2 devices.

Signed-off-by: David Boullie <David.Boullie@silabs.com>
2025-10-19 20:51:44 -04:00
The Nguyen
a463cc4b5e tests: drivers: build_all: add renesas_lvd test configurations
Add build test configuration for renesas_lvd on Renesas RA boards
that currently support the comparator driver on LVD.

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-10-19 20:51:30 -04:00
Minh Tang
41de20103b dts: renesas: ra: Add dts node for LVD support
Add dts node for LVD support on RA8 MCUs

Signed-off-by: Minh Tang <minh.tang.ue@bp.renesas.com>
2025-10-19 20:51:30 -04:00
Minh Tang
70a67385d0 drivers: comparator: Add comparator LVD driver support for RA
Add comparator support for RA with LVD module

Signed-off-by: Minh Tang <minh.tang.ue@bp.renesas.com>
2025-10-19 20:51:30 -04:00
The Nguyen
1d1e2022ba manifest: update rev of hal_renesas to latest
Update hal_renesas revision to add r_lvd support

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-10-19 20:51:30 -04:00
Minh Tang
a944ba23b8 soc: renesas: ra: Support NMI Handler for RA8P1 SoC
Add register NMI_Handler for NMI when CONFIG_RUNTIME_NMI is enabled on
RA8P1

Signed-off-by: Minh Tang <minh.tang.ue@bp.renesas.com>
2025-10-19 20:51:30 -04:00
Kurt Eckhardt
eb7e332b1b video: stm32_dcmi: DMA Error recovery
On several boards, such as the Arduino Giga and
Portenta H7, they are often times setup with their
camera buffers and potentially video buffers in
SDRam.  This can lead to a significant number of
DMA errors, which currently stops the camera from
returning any additional frames.

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
2025-10-19 20:51:20 -04:00
Kurt Eckhardt
3d11ffd849 video: stm32_dcmi: forward selection
Forward the get_selection and set_selection APIs
to the camera objects, to allow some of the
selections to be supported at the camera level.

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
2025-10-19 20:51:20 -04:00
Kurt Eckhardt
0cbfe585df video: gc2145: support for CROP
Implements the set_selection and get_selection APIs,
if forwarded to it by a camera controller.
It uses the new messages
to allow you to set a crop window on top of the
current format window.  It also then allows you
to move this crop window around in the frame
window.

With this driver I also updated it to allow any resolution
from the displays min to max limits.
static const struct video_format_cap fmts[] = {
  GC2145_VIDEO_FORMAT_CAP_HL(128, 1600, 128, 1200,
                              VIDEO_PIX_FMT_RGB565),
GC2145_VIDEO_FORMAT_CAP_HL(128, 1600, 128, 1200,
                              VIDEO_PIX_FMT_YUYV),

When the resolution is set, it computes the scale factor.

Using the set_selection(VIDEO_SEL_TGT_CROP) allows you
define a crop window within the format window.

It clamps the ratio to a max of 3 as some other
drivers limit it saying it helps with frame rates.

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
2025-10-19 20:51:20 -04:00
Valerio Setti
4ecb6d3cf7 storage: flash_map: deprecate legacy Mbed TLS crypto
The long-term goal of the Zephyr project is to rely exclusively on PSA
Crypto API for the crypto support. In parallel Mbed TLS is going to remove
legacy crypto support from the next (4.0) release.

Therefore this commit deprecates CONFIG_FLASH_AREA_CHECK_INTEGRITY_MBEDTLS
and it also updates the migration guide document about this change.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-19 20:50:48 -04:00
Ian Wakely
8a72d776c5 shields: Adding Adafruit INA228 Power Monitor.
This adds the shield definition for the Adafruit INA228 Power Monitor.
It connects to boards using the STEMMA-QT interface.

Product photo from https://learn.adafruit.com/assets/125551, with the
license CC BY-SA 3.0

Signed-off-by: Ian Wakely <raveious.irw@gmail.com>
2025-10-18 20:35:25 -04:00
Krzysztof Chruściński
e60fa1e07e tests: drivers: uart: uart_errors: Use runtime PM if enabled
Use PM device runtime API is it is enabled to power up the receiving
UART during the test.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-10-18 20:35:14 -04:00
Vlad Kulikov
20425ec6cc tests: smf: replace raw smf_ctx casts with SMF_CTX() macro
Use SMF_CTX() in SMF unit tests instead of (struct smf_ctx *) casts for
clarity and consistency. No functional change.

Signed-off-by: Vlad Kulikov <vlad_kulikov_c@pm.me>
2025-10-18 20:35:00 -04:00
Chris Friedt
7d95a0fd7b posix: signal.h: include sigev_notify_function field in struct sigevent
Previously, the `sigev_notify_function` field was missing from
`struct sigevent`. Additionally, `sigev_notify_attributes` were
incorrectly named `sigev_thread_attr`.

Add it back to ensure that we are able to support realtime signals.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Chris Friedt
0fec926941 posix: signal.h: reorder where sigval and siginfo_t are declared
In order to avoid warnings, declare `union sigval` ahead of
`struct sigevent` and declare `siginfo_t` ahead of `struct sigaction`.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Chris Friedt
c606c3cdff posix: signal.h: sigevent is a struct not a typedef
A previous typo went undetected that declared a type-defined
`sigevent_t`, which is obviously incorrect, since it is only specified as
`struct sigevent`.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Chris Friedt
d11f05d93c posix: time.h: timepsec is a struct not a typedef
A previous typo went undetected that declared a type-defined
`timespec_t`, which is obviously incorrect, since it is only specified as
`struct timespec`.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Chris Friedt
9a82d409af posix: signal.h: do not define struct timespec when >= c11
C11 requires `<time.h>` to define `struct timespec`, so do not define
it when C11 is already known.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Chris Friedt
b069de68d8 posix: signal.h: always pull in time_t definition from libc
Avoid redefining `time_t` by always including the definition from
`<time.h>`, since the C library may use something other than `long`.

This is still safe according to the specification, since it explicitly
states:

> Inclusion of the <signal.h> header may make visible all symbols from
> the <time.h> header.

For more information, please see
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Chris Friedt
9f13274c00 libc: indicate timeval is defined
In order to avoid multiple definition errors, indicate that struct
timeval is declared.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Chris Friedt
192b721732 libc: indicate timespec is defined
In order to avoid multiple definition errors, indicate that struct
timespec is declared.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Chris Friedt
8017e17ff6 libc: newlib + picolibc: indicate sigevent and sigval are declared
Indicate that C library headers have declared `struct sigevent` and
`struct sigval` to avoid redefinition warnings / errors.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-18 20:33:57 -04:00
Qingsong Gou
e3ba8bcb95 MAINTAINERS: add ck-telecom as SF32LB collaborator
Add myself as SF32LB collaborator.

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-10-18 19:21:21 +02:00
Bill Waters
bd2760aabf boards: infineon: kit_pse84_eval: cmake fix
Fix to the .hex file path.  This was breaking
twister runs.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-10-18 19:21:06 +02:00
Alessandro Manganaro
fd51dde8f5 samples: net: wpan_serial: Excluding nucleo_wba65ri platform
As CONFIG_BUILD_ONLY_NO_BLOBS feature is not implemented for
stm32wbax socs, we have temporarily excluded
nucleo_wba65ri platform from CI build tests.

Issue https://github.com/zephyrproject-rtos/zephyr/issues/95495
will be updated accordingly

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-10-17 21:06:54 -04:00
Benjamin Cabé
405d187fa5 ci: doc-build.yml: do not tweak manifest.project-filter unnecessarily
The documentation build shouldn't need to pull in anything beyond what's
active by default in the west.yml manifest. In fact, due to the way the
manifest_projects_table.py script currently works, it is important that
have a local west config that's "vanilla" so that the table of
active/inactive projects is correct.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-17 21:06:24 -04:00
Benjamin Cabé
a1c54f5815 doc: css: make sidebar style available globally
The sidebar used for the "wikipedia"-style card in the documentation
pages of board is actually something that is worth reusing elsewhere
so move the corresponding styles from board.css to global custom.css

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-17 21:06:24 -04:00
Declan Snyder
3f66f0ba08 drivers: ksz8081: Fix fault on boot in handler thread
Issue was that the gpio interrupt was happening before the work item was
initialized, and then trying to schedule it, resulting null pointer
dereference and fault occurring.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-17 21:05:44 -04:00
Declan Snyder
57312acd18 drivers: ksz8081: Remove 100ms busy waits
These busy waits were only introduced during a debugging exercise and
not supposed to have made their way into mainline.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-17 21:05:44 -04:00
Stephan Linz
14cdbb9740 spi: stm32: move SPI context init to PM resume
In case of hardware controlled CS pins the SPI context must be
initialized after the clock and pin control have been initialized.
Otherwise, corresponding STM32 LL operations would access a SoC
functional unit that is not yet supplied with a clock and fail
silently without error handling.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2025-10-17 21:05:36 -04:00
Szymon Janc
719fd299ab tests: Bluetooth: Tester: Enable CONFIG_ASAN for native target
This helps in finding issues in code and produces helpfull trace
in case of segmentation fault.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2025-10-17 21:04:57 -04:00
Adam BERLINGER
5f1a952291 boards: st: stm32u083c_dk: Add USB support
Adds USB Device support to stm32u083c_dk board

Signed-off-by: Adam BERLINGER <adam.berlinger@st.com>
2025-10-17 21:04:42 -04:00
Adam BERLINGER
f6cd77a7aa dts: arm: st: u0: Add CK48 multiplexer
Adds CK48 mutliplexer for STM32U0 families.

Signed-off-by: Adam BERLINGER <adam.berlinger@st.com>
2025-10-17 21:04:42 -04:00
Adam BERLINGER
987ca0f566 dts: arm: st: u0: Move HSI48 to USB capable STM32U0 family
HSI48 is not available on all families, only on those where USB is present.

Signed-off-by: Adam BERLINGER <adam.berlinger@st.com>
2025-10-17 21:04:42 -04:00
Jonas Berg
f484cc7835 boards: shields: Add Adafruit SHT40 SHT41 and SHT45 humidity shields
Product photo from https://learn.adafruit.com/assets/99220
with the license CC BY-SA 3.0

The bindings file for the sensor does not give any guidance on the
"repeatability" property, so I did choose "high".

Tested with the SHT40 and SHT41 shields (not SHT45).
Compile-testing of the overlay file is done via the dht_polling sample.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-10-17 21:04:29 -04:00
Carles Cufi
f3d22db213 doc: naming: Refine the statement about public APIs and prefixes
Clarify that the rule applies to APIs being introduced to Zephyr, and it
is not necessarily retroactive to apply to existing APIs.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-10-17 21:03:51 -04:00
Pisit Sawangvonganan
563af6f596 modbus: serial: use gpio_is_ready_dt() for GPIO readiness check
Simplify code by using gpio_dt_spec pointer-based API

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-10-17 21:03:27 -04:00
Pisit Sawangvonganan
b202835160 modbus: serial: use gpio_pin_set_dt() for de/re pin control
Just simplifies the code by using the `gpio_dt_spec` directly instead.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-10-17 21:03:27 -04:00
Chaitanya Gaikwad
ee3daf89f6 drivers: wifi: Infineon whd-expansion 1.2.1
Updated CMakeLists.txt to use bins directly with whd-expansion.
Updated Kconfig.airoc to include CYW55513UBG_SM.
Updated west.yml to latest hal_infineon revision.

Signed-off-by: Chaitanya Gaikwad <ChaitanyaSandeep.Gaikwad@infineon.com>
2025-10-17 21:03:03 -04:00
Robert Perkel
228f0a424c tests: drivers: sensor: Added MTCH9010 Tests
Added testsuite to verify MTCH9010 sensor driver

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2025-10-17 21:02:44 -04:00
Robert Perkel
1d5ffe5cc5 drivers: sensor: microchip: mtch9010 Added mtch9010 support
Added support for MTCH9010 and applied edits from reviewers.

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2025-10-17 21:02:44 -04:00
Riadh Ghaddab
a5f0c965c5 zms: fix init if a faulty bit is detected in the next free location
For devices that need an erase before a write, ZMS do not verify that
the next available location in the open sector is filled with the
erase_value.
Fix this by adding a check at init.

Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-10-17 21:02:20 -04:00
Fabian Barraez
6b8fcaeecf drivers: sensor: add support for ALS31300 3D Hall Effect Sensor
Add driver for Allegro Microsystems ALS31300 3-axis linear Hall Effect
sensor. The driver supports:
- I2C communication interface
- X, Y, Z magnetic field measurements
- Device temperature readings

Signed-off-by: Fabian Barraez <fabianbarraez@gmail.com>
2025-10-17 22:02:28 +03:00
Charles Dias
5bad29fa38 drivers: mipi_dsi: Add STM32U5 support to DSI driver
These changes enhance the driver's compatibility with the STM32U5 series,
enabling its use in applications requiring MIPI.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-10-17 22:02:16 +03:00
Charles Dias
a2d7d64818 dts: arm: stm32u5: add MIPI DSI support for STM32U59x/5Ax series
Add DSI host controller node definition for STM32U59x/5Ax series.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-10-17 22:02:16 +03:00
Charles Dias
9c34b18cff dts: bindings: mipi-dsi: extend STM32 MIPI DSI support
These additions enhance the flexibility of the MIPI DSI host configuration
for STM32U5 series, enabling finer control over the DSI PLL and PHY
settings.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-10-17 22:02:16 +03:00
Aksel Skauge Mellbye
7f670c078e modules: mbedtls: add Kconfig symbol MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS
Add a new Kconfig symbol MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS to wrap the
Mbed TLS configuration option with the same name. Built-in key
support enables platforms implementing
mbedtls_psa_platform_get_builtin_key() to use keys derived from a
hardware unique key or stored in a secure element.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-17 22:02:05 +03:00
Flavio Ceolin
31e84adf49 west: tf-a: Bump TF-A to v2.13.0
Bump TF-A to the latest release v2.13.0

Signed-off-by: Flavio Ceolin <flavio@hubble.com>
2025-10-17 22:01:55 +03:00
Alain Volmat
1061b8bc87 samples: video: tcpserversink: add stm32n6570_dk jpeg conf
Add conf / overlay files in order to enable the jpeg encoder
on the stm32n6570_dk.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-10-17 22:01:44 +03:00