Commit graph

136,983 commits

Author SHA1 Message Date
Benjamin Cabé
e5beedb63b dts: bindings: video: move DTS examples to examples: section
Use the new `examples` property to provide example usage in a more
structured way.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 18:59:51 +00:00
Benjamin Cabé
57170f241d dts: bindings: led_strip: move DTS examples to examples: section
Use the new `examples` property to provide example usage in a more
structured way.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 18:59:36 +00:00
Mathieu Choplain
702df876bf drivers: clock_control: stm32: add assertions on init error pathes
Whenever the driver would fail initialization (return a non-zero value),
add an assertion to ease debugging/troubleshooting.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-13 18:59:16 +00:00
Mathieu Choplain
19033e0398 drivers: can: stm32_bxcan: fix guidelines compliance issue
Fix "Violation to rule 21.2 (Should not use a reserved identifier) - clock"
in the aforementioned driver by renaming a local variable.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-13 18:59:16 +00:00
Mathieu Choplain
a11688fab5 drivers: *: stm32: don't check if clock device is ready
If the clock device (i.e., RCC) failed to initialize, we have bigger
problems than trying to call clock_control_{off,on,configure} on it.
Don't bother checking to save some footprint.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-13 18:59:16 +00:00
Aksel Skauge Mellbye
cc46fc2850 tests: drivers: spi: loopback: Update overlay for xg24_rb4187c
Change the spi_loopback fixture to connect EXP4 to EXP7 instead
of EXP6 to be consistent with other loopback fixtures for this
board.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-02-13 18:58:33 +00:00
Amneesh Singh
76162f7d2b boards: am243x_evm: doc: fix TRM link
The Technical Reference Manual reference has the wrong URL which points to
the User Guide instead. Fix this by changing the URL.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2026-02-13 18:58:05 +00:00
Valerio Setti
7ea4458a7d samples: net: wifi: shell: remove legacy Mbed TLS crypto
Remove usage of legacy Mbed TLS crypto APIs from sample overlays.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-02-13 18:57:48 +00:00
Alex Fabre
428ec7cdc7 modules: canopennode: use k_timer for deterministic SYNC timing
Replace k_sleep() with k_timer and semaphore-based synchronization
in the CANopen SYNC thread for more deterministic wake-up timing.

Add configurable CANOPENNODE_SYNC_THREAD_PERIOD_US Kconfig option
to allow tuning the SYNC processing period.

Signed-off-by: Alex Fabre <alex.fabre@rtone.fr>
2026-02-13 18:57:32 +00:00
Jordan Yates
5348920295 modules: nrf_wifi: spi: optimise SPI RX transaction
Optimise the transactions queued by `spim_xfer_rx` to only require 2
sequences started by the SPI driver, instead of 3.

Previously:
  1. TX `sizeof(hdr)`, RX nothing
  2. TX nothing, finish receiving `sizeof(hdr) + discard_bytes`
  3. TX nothing, receive `len`

Now:
 1. TX `sizeof(hdr) + discard_bytes`, RX nothing
 2. TX nothing, receive `len`

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-02-13 18:57:19 +00:00
Elmo Lan
a4465cfe28 drivers: uart: ns16550: clear TX and RX FIFOs when initial
Clear the TX and RX FIFOs to ensure a clean state.
Without this reset, residual data or incomplete
characters from a previous session or the bootloader could remain
in the hardware buffers.

Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
2026-02-13 18:56:41 +00:00
Benjamin Cabé
0ddece6f09 doc: contribute: fix shifted line numbers in code blocks
Fix typos in emphasis line numbers that were off- by one in two code
blocks in the Doxygen style guide.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 09:53:07 -06:00
Benjamin Cabé
118184ea66 doc: css: update Google Programmable Search stylesheet
Google apparently just changed ever so slightly the html and default css
for Programmable Search result page. This fixes the few things that were
looking wrong due to this change, in particular in dark mode.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 09:52:44 -06:00
Alessandro Manganaro
82db777687 drivers: ieee802154: stm32wba: align with radio power hook
Update the stm32wba 802.15.4 driver to integrate the new SoC-level
radio power management.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2026-02-13 09:51:52 -06:00
Alessandro Manganaro
93c2d2ba3d drivers: bluetooth: hci: stm32wba: align with radio power hook
Update the stm32wbax ble hci driver to integrate the new SoC-level
radio power management hook.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2026-02-13 09:51:52 -06:00
Alessandro Manganaro
6c5764ddfd soc: arm: st: stm32wbax: add power hook for radio enable
Add a SoC-level power management hook in stm32wbax power support
to handle the case when the radio is enabled.

This ensures the power configuration remains consistent with
RF activity and avoids entering low-power states that are
incompatible with the radio being active.

The new helper is wired into the STM32WBAX power control logic,
so that radio-related constraints are taken into account during
power state transitions.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2026-02-13 09:51:52 -06:00
Derek Snell
52b1689464 MAINTAINERS: add mbittan as collaborator for NXP LPC11U6x
Adds mbittan as collaborator who contributed the LPC11U6x SOC support
and lpcxpresso11u68 board, so they can help maintain this platform
support. https://github.com/zephyrproject-rtos/zephyr/pull/25837

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-02-13 09:51:18 -06:00
Etienne Carriere
e4bdc5e958 boards: st: stm32h573i_dk: doc: clarify disabling of TZ config
Explicit that after having programmed and possibly run the 'ns'
variant of stm32h573i_dk board, one need to reprogram a few SoC
Option Bytes aside TZEN, which can be done using the generated
regression.sh script prior disabling TZEN.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 09:51:07 -06:00
Pieter De Gendt
0a63c65787 net: shell: dns: Use same unsupported command pattern
Update DNS shell commands if the DNS resolver isn't disabled to reduce
flash usage.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-13 09:50:47 -06:00
Pieter De Gendt
3c5760b1e6 net: shell: dns: Add browse command
Add the 'net dns browse <service>' command to resolve multiple hosts of a
certain service type.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-13 09:50:47 -06:00
Pieter De Gendt
b35a7bc617 net: dns: resolve: Handle DNS_RESPONSE_DATA item in validate
Add an entry to the DNS cache for DNS_RESPONSE_DATA messages, and return
dns_read with DNS_EAI_ALLDONE instead of DNS_EAI_NODATA.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-13 09:50:47 -06:00
Pieter De Gendt
4251e01754 net: shell: dns: Make DNS info message queue size configurable
In large networks there can be many DNS responses, make the DNS info queue
size configurable to prevent dropping messages

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-13 09:50:47 -06:00
Seppo Takalo
5fb307a98a modem: backends: uart_async: Prevent closing twice
When modem_pipe_notify_closed() is removed from pipe->close() call,
we rely on the UART callback to notify when the UART is closed.

If we call uart_rx_disable() twice, we might lose the callback,
and the pipe status stays open.

This happens when modem_cellular_run_shutdown_script_event_handler() calls
modem_pipe_close_async() followed by modem_cellular_enter_state(IDLE)
which also calls modem_pipe_close_async().

Prevent side-effects of calling the close twice, by checking the already
existing atomic bit.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-02-13 09:49:54 -06:00
BUDKE Gerson Fernando
f4864d83d4 drivers: modem: shell: Fix modem_cmd_send_data_nolock declaration
Add missing modem_cmd_handler.h include in modem_shell.c to resolve
implicit function declaration warning for modem_cmd_send_data_nolock.

Signed-off-by: BUDKE Gerson Fernando <gerson.budke@leica-geosystems.com>
2026-02-13 09:49:25 -06:00
Jamie McCrae
6a6983b507 dts: nordic: nrf54l15: Remove cpuflpr resource reservations
Removes resource reservation for cpuflpr from the cpuapp build and
only applies it when either of the flpr snippets are used

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-13 09:49:06 -06:00
Bernhard Reiter
aadc11e115 drivers: sensor: tmag5170: fix SPI word size
Set the TMAG5170 SPI word size to 8 bits to match the device protocol and
avoid incorrect transfers on controllers that enforce the configured word
size.

Fixes: zephyrproject-rtos/zephyr#103615
Link: https://github.com/zephyrproject-rtos/zephyr/issues/103615
Signed-off-by: Bernhard Reiter <bernhard.reiter@swarovskioptik.com>
2026-02-13 09:48:43 -06:00
Bernhard Reiter
e70d683f86 drivers: sensor: tmag5170: reformat code
Apply code formatting to the TMAG5170 driver sources.

No functional changes intended.

Signed-off-by: Bernhard Reiter <bernhard.reiter@swarovskioptik.com>
2026-02-13 09:48:43 -06:00
Jonathan Nilsen
50f5dfc7f3 manifest: update hal_nordic revision and IronSide SE support code
Pull in updated IronSide SE supporting code and adapt the Zephyr
integration layers:

* Implement the glue function interfaces for doing data cache operations,
  which are needed for some of the IronSide SE APIs.

* Add an option to the PERIPHCONF entry generator for not locking
  SPU registers. This will be used to enable reconfiguration of
  the SPU registers using an IPC call after their initial
  configuration at boot.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-02-13 09:48:31 -06:00
Lars Knudsen
00ac90be83 Bluetooth: Shell: Fix BAP USB Audio on windows
On Windows, using the UNDEFINED device class
and terminal types in the devicetree resulted
in the USB Audio device not being selectable as
input/output sound device.

Changing to HEADSET makes it work.

Signed-off-by: Lars Knudsen <LAKD@demant.com>
2026-02-13 09:48:05 -06:00
Chris Friedt
351a12d921 lib: os: do not include posix sys/types.h header
There is no need to pull in POSIX types in either of the modified files,
so remove the `<sys/types.h>` inclusion.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-02-13 09:47:38 -06:00
Chris Friedt
5297ee377c tests: posix: net + barriers: mitigate codesonar issues
This change mitigates some code sonar issues (from SonarQube).

1. explicit 'U' after 0xffffffff

> A cast shall not remove any const or volatile qualification from the
> type of a pointer or reference c:S859

2. check return value from call to pthread_barrierattr_getpshared()

> Unused assignments should be removed c:S1854

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-02-13 09:47:15 -06:00
Lingao Meng
de5e348d81 MAINTAINERS: add kvss subsystem collaborator
Add myself as collaborator of kvss subsys.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2026-02-13 09:46:49 -06:00
Mandus Börjesson
7318852e25 drivers: wifi: esp32: Add power save functionality
Allow the application to enable power-saving features of the ESP32 wifi
radio using the normal networking APIs.

Signed-off-by: Mandus Börjesson <borjessonmandus@gmail.com>
2026-02-13 09:46:36 -06:00
Benjamin Cabé
090e351e0a fs: shell: adopt SHELL_HELP in FS shell
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules.
This also documents the usage for each command.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 09:46:18 -06:00
Benjamin Cabé
a6c663d16c fs: shell: use proper parameter validation for fs shell test commands
Rather than manually checking the number of arguments and printing an
error message, let the shell subsytem handle the validation for us by
indicating all arguments as required.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 09:46:18 -06:00
Anton Puppe
a88d23a7d8 soc: st: stm32n6: add DCMIPP CSI IRQ
Add DCMIPP CSI IRQ support for STM32N6.

Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
2026-02-13 09:45:30 -06:00
Sylvio Alves
d6c47f2beb drivers: mbox: esp32: add data transfer support
The ESP32 mbox driver was effectively signalling-only: mbox_send()
ignored the msg parameter (ARG_UNUSED) and never copied data into
shared memory.

This adds proper data transfer support.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-02-13 13:56:37 +01:00
Mathieu Choplain
c364761460 include: kernel: fix documentation of return values
Various functions in kernel.h used the `@retval` command, which requires
a return value to be specified right afterwards, without actually providing
said return value. This causes the first word after the command to render
in a different color inside the documentation which looks odd.

Fix by using `@return` instead or adding the missing return value for the
`@retval` depending on the situation.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-13 13:56:19 +01:00
Mathieu Choplain
bf8f523818 include: kernel: add missing retval in k_float_en/disable documentation
A `@retval` command was missing which caused the documentation for -EINVAL
to be integrated in the documentation paragraph for return value -ENOTSUP
instead of being in its own paragraph.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-13 13:56:19 +01:00
Mathieu Choplain
7df8f759a9 include: kernel: document Kconfig option needed by k_thread_name_get/set
The description of k_thread_name_get() indicated that a Kconfig option
is required for the function to return non-NULL values, but did not
provide the name of that option.

Fix by adding the name of the option: CONFIG_THREAD_NAME.

While at it, also update the documentation of k_thread_name_set() which
indicates CONFIG_THREAD_MONITOR is needed, when it actually requires
option CONFIG_THREAD_NAME too.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-13 13:56:19 +01:00
Muhammad Waleed Badar
4490c05eef usb: device_next: shell: adopt SHELL_HELP macro
Convert USB device shell command help strings to use the
SHELL_HELP() macro instead of inline help text.

This aligns the USB device shell with the updated shell help
formatting used across the tree and ensures consistent
presentation of command descriptions and argument usage.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-02-13 13:56:04 +01:00
Krzysztof Chruściński
245cd21b0d drivers: serial: nrfx_uarte: Fix wrong endif use
Preprocess endif should be before return so that uarte_periph_enable
returns always when asynchronous API is used. It leads to faulty
behavior in certain configurations.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-13 13:55:53 +01:00
Benjamin Cabé
b710a9ec77 doc: include: drop funcprops Doxygen alias
The "@funcprops" Doxygen alias was originally introduced to list all
the function properties that apply to a given function (e.g. isr_ok,
etc.) in the form of a bullet list. However, since commit a258ab32d1
that is no longer the case and all the properties are rendered as
qualifiers (https://www.doxygen.nl/manual/commands.html#cmdqualifier)
and therefore no longer need to be grouped in a separate list.

This commit also ensure all aliases for the actual qualifiers use
`@qualifier` notation instead of `\qualifier` to be consistent with
our Doxygen guidelines.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 13:55:40 +01:00
Valerio Setti
7fcd8563b8 modules: mbedtls: imply RSA legacy Kconfigs in ciphersuites using RSA
Ideally these legacy RSA Kconfigs shouldn't be used anymore, but
Mbed TLS still uses them as guards in TLS code.
When TF-M is disabled there is no need for this trick because Mbed TLS
automatically enables legacy support internally based on PSA_WANT
build symbols.
The problem arises when TF-M is enabled in the build. In this case there
is auto-enablement from PSA_WANT counterparts, so the build fails due
to lack of support.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-02-13 13:55:29 +01:00
Benjamin Cabé
7449b51688 doc: _extensions: show boards as maintained/not actively maintained in docs
This uses the MAINTAINERS file to determine if a board is maintained or
not, stores the information in the catalog and shows this in the "wikipedia
sidebar" of the board documentation (adding filtering based on this is a
future enhancement opportunity).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 13:55:10 +01:00
Mathieu Choplain
63878c3264 drivers: usb: udc: stm32: implement multi-instance support
Modify the STM32 UDC driver to support multiple instances.

While at it, align the device initialization callback name with other
UDC drivers: `udc_stm32_driver_init0` becomes `udc_stm32_driver_preinit`.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-13 12:37:40 +01:00
Emil Gydesen
8d904e186b Bluetooth: TBS: Client: Fix reset issue with net_buf
The net_buf was always initialized with net_buf_simple_init_with_data
which was a bit wasteful as we only need to do that once. Since `inst`
is `static`ally allocated, we can check for `.data == NULL`.

Additionally the read callbacks expect the buffer to be 0-initialized
between each usage, which wasn't the case. We can use the `buf.len`
to determine how many bytes we need to reset to `0`.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-13 12:37:31 +01:00
Gaetan Perrot
0c68fbb07c drivers: i3c: renesas_ra: handle NULL target returned by DAA helper
i3c_dev_list_daa_addr_helper() may return success while setting the
target descriptor to NULL when descriptor allocation fails.

Handle this case explicitly to avoid NULL pointer dereference during
dynamic address assignment.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-13 12:37:22 +01:00
Etienne Carriere
ecceda92cf kconfig: explicit invalid flash address acts on offset fallback value
Swap the logic using FLASH_CODE_PARTITION_ADDRESS_INVALID to fallback
to previous computation of flash offset when read from the DT.

This change better highlight that the fallback is related to
FLASH_CODE_PARTITION_ADDRESS_INVALID instead of showing the
new computation relates to NOT(FLASH_CODE_PARTITION_ADDRESS_INVALID).

No functional changes.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 12:37:14 +01:00
Etienne Carriere
af023e702b kconfig: fix flash load offset fallback on invalid partition address
Fix FLASH_LOAD_OFFSET symbol default when when legacy invalid partition
offsets are provided. Commit 2f7d13840f allowed so-called invalid
partition address (see FLASH_CODE_PARTITION_ADDRESS_INVALID config symbol)
to still use their legacy flash offset computation but replaced
DT_CHOSEN_Z_CODE_PARTITION with DT_CHOSEN_Z_FLASH as node reference
hence using the flash base address instead of the partition offset value.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 12:37:14 +01:00