Commit graph

126,787 commits

Author SHA1 Message Date
Alain Volmat
36805edfb6 boards: stm32n6570_dk: enable the JPEG HW codec
Enable the JPEG HW codec on the stm32n6570_dk board.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-10-17 22:01:44 +03:00
Alain Volmat
9e298077be dts: stm32n6: add jpeg codec node in stm32n6.dtsi
Add the node describing the JPEG HW codec within the stm32n6

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-10-17 22:01:44 +03:00
Alain Volmat
320425847e video: stm32: addition of the STM32 JPEG HW Codec support
Initial version of the support for the STM32 JPEG HW codec,
currently supporting only NV12 to JPEG without DMA support
and using SW based conversion from NV12 to MCU required
for the JPEG codec.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-10-17 22:01:44 +03:00
Alain Volmat
f1c5b806b0 dts-bindings: video: addition of ST JPEG HW codec description
Add description of the ST JPEG HW codec IP node.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-10-17 22:01:44 +03:00
Shreehari HK
371a27c849 drivers: sensor: tdk: icm42x70: update temperature data processing
Update the temperature data processing to
handle different data sizes based on FIFO configuration.
The temperature sensor data size and conversion
formula vary depending on the FIFO mode:
1. FIFO disabled: Uses 20-bit data format
2. FIFO enabled (standard resolution): 16-bit data
3. FIFO enabled (high resolution): 20-bit data

The implementation now:
- Uses the 'fifo_highres_enabled' flag
  to determine the correct data size
- Applies the appropriate conversion formula
  based on the resolution mode
- Handles all three possible FIFO configurations
- Ensures accurate temperature readings in all modes

Signed-off-by: Shreehari HK <shreehari.hk@alifsemi.com>
2025-10-17 22:01:32 +03:00
Mathieu Choplain
02e6169f32 doc: migration_guide: 4.3: add note about CONFIG_CLOCK_STM32_HSE_CLOCK
Document that CONFIG_CLOCK_STM32_HSE_CLOCK is no longer user-configurable
and the replacement mechanism for setting its value (through Device Tree).

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-10-17 22:01:22 +03:00
Mathieu Choplain
ef15c3d9ba drivers: clock_control: stm32: define STM32_HSE_CLOCK based only on DT
Ensure the CONFIG_CLOCK_STM32_HSE_CLOCK symbol cannot be overridden by
making it depend on the Device Tree node "clk_hse" being enabled. The
symbol's value is also directly sourced from that node instead of being
user-configurable.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-10-17 22:01:22 +03:00
Mathieu Choplain
5f1ced737f boards: oct: osd32mp1_brk: provide HSE clock frequency in DTS
Provide the HSE clock frequency by enabling and configuring its Device Tree
node in the board's DTS instead of using Kconfig.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-10-17 22:01:22 +03:00
Mathieu Choplain
7162afe6a3 boards: st: stm32mp157c_dk2: provide HSE clock frequency in DTS
Provide the HSE clock frequency by enabling and configuring its Device Tree
node in the board's DTS instead of using Kconfig.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-10-17 22:01:22 +03:00
Mathieu Choplain
00f7559015 dts: arm: st: mp1: add HSE clock to DTSI
Add the HSE clock to STM32MP1 series DTSI.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-10-17 22:01:22 +03:00
Maureen Helm
14bea5fb2c boards: adi: max32666fthr: Remove sdhc from supported list of features
SDHC support was disabled in commit
e67470933a2005d82bfa3a7f0328196a139b2cc0 due to unresolved runtime
twister failures observed after rebasing adi-main to Zephyr v4.1,
however the feature was still left in the board's list of supported
features. This caused twister to continue selecting
tests/drivers/disk/disk_performance for the board, which fails to build,
and thus continued failures in ci. It was mainly observed on push events
because recent PRs haven't changed anything in this area.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2025-10-17 22:01:13 +03:00
Yasin Ustuner
d411ab9bbd boards: adi: max32666fthr: Disable SDHC
Some SDHC related tests fail on CI checks when
rebase adi-main on to Zephyr v4.1 release
candidate.

This commit disables SDHC until the problem is
solved.

Signed-off-by: Yasin Ustuner <Yasin.Ustuner@analog.com>
2025-10-17 22:01:13 +03:00
Thomas Decker
18f1d33013 boards: st: nucleo_h7s3l8: Fix format in doc/index.rst
Fix wrong heading type in index.rst introduced with PR #95388

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-10-17 22:01:03 +03:00
Thomas Decker
cebdc0bc84 boards: st: nucleo_h7s3l8: Add ethernet
Enable support for ethernet on nucleo_h7s3l8 board.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-10-17 22:01:03 +03:00
Thomas Decker
bfdf070b7d soc: st: stm32: h7rs: Add memory region to MPU region list
Add ethernet DMA buffer/descriptor region (sram2) and read only
flash region 0x08FFF800 with unique device ID registers to MPU region
list. The unique device ID is used to create a random mac address by
the ethernet driver. Ethernet DMA buffer/descriptor memory section is
also added to linker script.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-10-17 22:01:03 +03:00
Thomas Decker
0cd6f90da6 drivers: ethernet: stm32: Add support for SOC H7RS-Family
Add SOC_SERIES_STM32H7RSX to applicable Kconfig parameters and enable
use of .eth_stm32_desc and .eth_stm32_buf linker sections for ethernet
dma.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-10-17 22:01:03 +03:00
Thomas Decker
de03e7c209 dts: arm: st: h7rs: Add ethernet node to dts
Add ethernet node with mac and mdio subnodes to dts similar to h7-family.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-10-17 22:01:03 +03:00
Jilay Pandya
fa4d1c2104 drivers: stepper: Kconfig: fix bleeding Kconfigs
currently Kconfigs in stepper area are not uniformly organized
some folders have config while the others follow menuconfig

Also without having activated drivers explicitly following
Kconfigs appear in autoconf.h

CONFIG_STEPPER_ADI_TMC 1
CONFIG_STEPPER_ADI_TMC50XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ADI_TMC51XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ALLEGRO 1

refactor Kconfig.tmc51xx to tmc51xx folder
refactor adi_tmc bus related Kconfigs in adi_tmc/bus

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-10-17 22:00:39 +03:00
Xavier Razavet
cf2ec35726 dts: arm: nxp: MCXW71 stcm RAM size increased to 112K
To prevent a RAM overflow in the zephyr/samples/net/openthread/shell
application

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-10-17 22:00:29 +03:00
Xavier Razavet
a9e111f6a9 samples: openthread: shell: boards folder creation to support MCXW7x
Creation of the zephyr/samples/net/openthread/shell/boards to support
the MCXW7x boards components.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-10-17 22:00:29 +03:00
Aksel Skauge Mellbye
27a7cd5cc9 drivers: retained_mem: Add driver for Silicon Labs BURAM
Add retained memory driver for BURAM on Silicon Labs Series 2
devices. This is a 128-byte register-based backup memory available
in all power states.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-17 22:00:18 +03:00
Aksel Skauge Mellbye
10f5c8f044 dts: arm: silabs: Add silabs,buram binding for retained memory
Add binding for the 128-byte Backup RAM.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-17 22:00:18 +03:00
Benjamin Cabé
3de6a264bc doc: doxygen: enable Doxygen parallel build
Parallel build for Doxygen has been available since v1.9, and allows to
claim a few seconds off the build time (only the input processing can be
done in parallel, but that's still a noticeable performance
improvement).

Set NUM_PROC_THREADS to 0 to use as many cores as available on the
system (21 seconds build-time down to 16 on my machine).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-17 22:00:08 +03:00
Sylvio Alves
884155d4c8 west.yml: update hal_espressif
Make common mbedTLS linking into BLE/Wi-Fi builds.
Fix wrong lock in regi2c sources.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-10-17 21:59:56 +03:00
Adam Kondraciuk
03f537733e boards: nordic: nrf54h: fix pm_ramfunc region
Fix region for PM ram function on radiocore.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-10-17 21:59:46 +03:00
Julien Panis
052ded1682 drivers: spi: cc23x0: Add power management
Add PM support to cc23x0 SPI module. This implies listing states which
cause power loss and enabling device runtime PM for the DMA in the DT.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2025-10-17 17:04:18 +03:00
Fabrice DJIATSA
3574533ca2 soc: st: stm32l0x: remove kernel stack size definitions
These kconfig symbols will be handle in family Kconfig
Level

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-17 17:04:04 +03:00
Fabrice DJIATSA
540d2d3220 soc: st: stm32g0x: remove kernel stack size definitions
These kconfig symbols will be handle in family Kconfig
level

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-17 17:04:04 +03:00
Fabrice DJIATSA
7b90f58ad0 soc: st: stm32f0x: remove kernel stack size definitions
These kconfig symbols will be handle in family Kconfig
level.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-17 17:04:04 +03:00
Fabrice DJIATSA
84dc8d21b6 soc: st: stm32: add common kconfig symbols for kernel stack size
Provide default values for common kconfig symbols for main, idle and
isr stack sizes, which apply on all STM32 MCU families with low RAM
memory(less than 8 KiB).
These kconfig symbols help reduce kernel sizes to fit within
limited RAM.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-17 17:04:04 +03:00
Luna Pes
caae24e20e drivers: eeprom: fm25xxx: add support for infineon fm25xxx FRAM
This driver adds support for the Infineon FM25XXX series of chips.
Has been tested on Infineon FM25CL64B-G.

Signed-off-by: Luna Pes <zephyr@orangemurker.com>
2025-10-17 17:03:53 +03:00
Sylvio Alves
4eeb8fa95e mdio: esp32: fix gpio0 clock output
When GPIO0 is set as RMII clock, configure its
mux to clockout properly.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-10-17 17:03:41 +03:00
Anthony Williams
3d5417e654 sensor: icm45686: Move watermark threshold mode to DT config
Move the watermark threshold trigger mode to a configurable dt boolean.

When using the default configuration of watermark threshold
interrupt greater than or equals, extra interrupts are serviced
to icm45686_event_handler().

When `fifo-watermark-equals;` is added to the sensor DT overlay,
the new behavior is only one interrupt is generated per watermark
threshold crossing. Until the host drains the fifo, no extra interrupts
will be generated.

Signed-off-by: Anthony Williams <anthony289478@gmail.com>
2025-10-17 17:03:27 +03:00
Tom Hughes
b76911d8e0 arch: riscv: Fix warning when C++ is enabled
When compiling with C++ enabled (CONFIG_CPP), add an unused member to
prevent an empty struct; this makes the struct size the same for both C
and C++.

Fixes the following warnings:

In file included from include/zephyr/drivers/gpio.h:22:
In file included from include/zephyr/tracing/tracing.h:9:
In file included from include/zephyr/kernel.h:17:
In file included from include/zephyr/kernel_includes.h:32:
In file included from include/zephyr/kernel_structs.h:29:
In file included from include/zephyr/arch/structs.h:29:
include/zephyr/arch/riscv/structs.h:11:1: error: empty struct has size 0
in C, size 1 in C++ [-Werror,-Wextern-c-compat]
   11 | struct _cpu_arch {
      | ^

In file included from include/zephyr/drivers/gpio.h:22:
In file included from include/zephyr/tracing/tracing.h:9:
In file included from include/zephyr/kernel.h:17:
In file included from include/zephyr/kernel_includes.h:36:
In file included from include/zephyr/arch/cpu.h:25:
In file included from include/zephyr/arch/riscv/arch.h:18:
include/zephyr/arch/riscv/thread.h:68:1: error: empty struct has size 0
in C, size 1 in C++ [-Werror,-Wextern-c-compat]
   68 | struct _thread_arch {
      | ^

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2025-10-17 17:03:16 +03:00
Pavel Vasilyev
a360ff7cc3 bluetooth: mesh: Fix build without settings under asan
When Mesh is built without CONFIG_BT_SETTINGS and with CONFIG_ASAN
(and CONFIG_NO_OPTIMIZATION), the call to bt_mesh_settings_set is not
optimized out. Since settings.c isn’t compiled when CONFIG_BT_SETTINGS
is disabled, the linker reports an undefined reference.

Guard the call with !IS_ENABLED(CONFIG_BT_SETTINGS) so the call and the
subsequent code is compiled out when settings are disabled.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-10-17 17:03:06 +03:00
Jeppe Odgaard
25d5c73b0a net: config: sntp: optionally set rtc
Set RTC when an SNTP response is received if enabled via Kconfig option.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-10-17 17:02:55 +03:00
Alberto Escolar Piedras
691486de83 modules: mbedtls: Fix build with address sanitizer and size opt
When building with the address sanitizer and size optimizations some of
the mbedtls assembler fails to build, with an error like:
error: ‘asm’ operand has impossible constraints or there are not enough
       registers

Avoid this issue by forcing speed optimizations for this problematic
file if any optimization is chosen.

A similar fix was originally introduced in the module:
4f1e8f5a78
but it seems to have stoped working when the content of the file was
moved.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-10-17 17:02:43 +03:00
Chris Friedt
d47c68f937 samples: net: capture: use EXTRA_CONF_FILE for native_sim
The generated docs for building this sample suggested using
`-DCONF_FILE=overlay-tunnel.conf`, but that was just an artifact of
using the `:conf:` directive in the kind of generic app-command.

Without specifying `-DEXTRA_CONF_FILE=overlay-tunnel.conf`, which
also pulls in `prj.conf`, there were a few build errors.

Update the docu to provide a concrete example of building for
`native_sim` with `:gen-args: -DEXTRA_CONF_FILE=overlay-tunnel.conf`.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-17 17:02:34 +03:00
Daniel Kampert
7a4c4a6f9b sensors: apds9306: Fix I2C write/read pointer issue
- Fix i2c_write_read_dt read buffer pointer
- Initialize val2 in apds9306_attr_get with 0

Closes #97623

Signed-off-by: Daniel Kampert <DanielKampert@kampis-elektroecke.de>
2025-10-17 17:02:24 +03:00
Camille BAUD
ecada5749b soc: bflb: Fix cache code relocation
The location of the cache code file was changed, update it here

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-17 17:02:14 +03:00
Axel Le Bourhis
188c93ec67 soc: nxp: nxp_nbu: Fix IMU IRQ enabled too early in NXP NBU driver
This commit addresses an issue where the IMU interrupt is enabled too
early by the nxp_nbu driver, this leads to a race condition where the
interrupt can be triggered even though the IMU driver is not fully
initialized.
The interrupt shall not be enabled at Zephyr level since this will
be done by the low level driver in the hal_nxp.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2025-10-17 17:02:02 +03:00
Dan Kalowsky
440896aa73 MAINTAINERS: add dkalowsk as MCTP collaborator
Add dkalowsk as a collaborator to the MCTP sections.

Signed-off-by: Dan Kalowsky <dkalowsky@amperecomputing.com>
2025-10-17 17:01:50 +03:00
Jeppe Odgaard
57a5b86b7f debug: thread_analyzer: replace #if IS_ENABLED
Use of IS_ENABLED in a #if statement is discouraged. Replace with #ifdef.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-10-17 17:01:30 +03:00
Axel Le Bourhis
f30ae377cc manifest: update hal_nxp
Integrate connectivity framework from MCUXSDK 25.09 release.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2025-10-17 17:01:11 +03:00
Sylvio Alves
ca5b09c03c tests: driver: pwm_loopback: fix zassert string formatting
Add missing "%" symbol.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-10-17 17:00:59 +03:00
Lyle Zhu
fa61e87f1f doc: Bluetooth: shell: Add document for Classic GOEP
Add a document to show how to use the Classic GOEP shell commands.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-10-17 12:55:53 +02:00
Lyle Zhu
2f630e3a16 doc: Bluetooth: shell: Add document for Classic RFCOMM
Add a document to show how to use the Classic RFCOMM shell commands.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-10-17 12:55:53 +02:00
Lyle Zhu
78fffbeca4 doc: Bluetooth: shell: Add document for Classic HFP
Add a document to show how to use the Classic HFP shell commands.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-10-17 12:55:53 +02:00
Lyle Zhu
40aaeca375 doc: Bluetooth: shell: Add document for Classic L2CAP
Add a document to show how to use the Classic L2CAP shell commands.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-10-17 12:55:53 +02:00
Tim Pambor
5b5c057cb4 west.yml: hal_stm32: update to fix compiling with clang and pin updates
Update hal_stm32 to include
- fix for compiling for STM32H5 with clang
- ale/cle pin definitions for FMC peripheral

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-10-17 12:55:29 +02:00