Commit graph

136,983 commits

Author SHA1 Message Date
Etienne Carriere
9a35f4bf79 kconfig: remove non-applicable build warning on invalid partition address
Commit 2f7d13840f introduced FLASH_CODE_PARTITION_ADDRESS_INVALID
config symbol that emits a "warning: Deprecated symbol ..." build
message when enabled. However, this warning is not applicable when
flash load address is not fetched from the DT, which happens when
CONFIG_USE_DT_CODE_PARTITION is disabled. Add a dependency so prevent
the non-applicable warning message to be emitted.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 12:37:14 +01:00
Quy Tran
c05697259e include: zephyr: Add doxygen coverage for Renesas header files
Add doxygen coverage for header of Renesas files to improve
documentation build from Zephyr

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-02-13 12:37:04 +01:00
Henrik Brix Andersen
8d2d4db311 drivers: kconfig: unify menuconfig title strings
Unify the drivers/*/Kconfig menuconfig title strings to the format "<class>
[(acronym)] [bus] drivers".

Including both the full name of the driver class and an acronym makes
menuconfig more user friendly as some of the acronyms are less well-known
than others. It also improves Kconfig search, both via menuconfig and via
the generated Kconfig documentation.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-02-13 12:36:55 +01:00
Etienne Carriere
76604f1de7 boards: st: stm32h7*: unique flash node units in 'm7' variants
Change m7 variant of stm32h745i_disco, stm32h747i_disco and
stm32h757i_eval boards to use unique flash nodes units and prevent
build warning trace messages like the extracted one below:

.../build/zephyr/zephyr.dts:1967.37-1992.6:
  Warning (unique_unit_address_if_enabled):
    /soc/spi@52005000/qspi-nor-flash-1@0:
      duplicate unit-address (also used in node
      /soc/spi@52005000/qspi-nor-flash-2@0)

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 12:36:46 +01:00
Etienne Carriere
2093b9be13 drivers: flash: stm32_*spi: remove unused *SPI_FLASH_MODULE() macros
Remove unused OSPI_FLASH_MODULE(), QSPI_FLASH_MODULE() and
XSPI_FLASH_MODULE() macros.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 12:36:46 +01:00
Etienne Carriere
d651ec8813 tests: arch: arm_thread_swap_tz: remove nucleo_l552ze_q overlay file
Remove nucleo_l552ze_q DTS overlay file from arm_thread_swap_tz tests
since it is not applicable: The platform is explicitly excluded
in the testcases.yaml file and the overlay file uses partition
labels that are not relevant when TF-M is embedded (e.g. slot0_partition
instead of slot0_secure_partition).

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 12:36:46 +01:00
Etienne Carriere
a650416371 boards: st: b_l4s5i_iot01a: fix DTS build warning
Remove leading zeros in node units leading to build warning like
the extracted one below:

.../build/zephyr/zephyr.dts:1319.37-1322.8: Warning (unit_address_format):
    /soc/spi@a0001000/ospi-nor-flash@0/partitions/partition@000:
    unit name should not have leading 0s

While at it, simplify the reg address address to plain 0.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 12:36:46 +01:00
Etienne Carriere
a55e7371e7 boards: st: stm32n6570_dk: sysbuild embeds MCUBoot only for normal variant
Do not assume MCUBoot should be embedded for other variants than
the normal variant for stm32n6570_dk board. Indeed fsbl and sb
variant are not designed to embed MCUBoot and current fail (RAM too
small) when built with sysbuild unless BOOTLOADER_MCUBOOT is
explicitly disabled.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-02-13 12:36:46 +01:00
Lucien Zhao
ae38e8e750 driver: clock_control_nxp_mc_cgm.c: add feature guards for device variants
Add FSL_FEATURE_SOC_*_COUNT preprocessor guards to protect peripheral
clock instances that may not exist in all MCXE device derivatives.

Some MCXE device variants have fewer peripheral instances than others:
- MCXE316/315 have 3 FlexCAN vs 6 in MCXE317
- MCXE316/315 have 4 LPUART vs 8 in MCXE317
- MCXE316/315 have 1 LPCMP vs 2 in MCXE317

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-02-13 10:09:45 +01:00
dependabot[bot]
c620982fa1 build(deps): bump cryptography from 46.0.3 to 46.0.5 in /scripts
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.3 to 46.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.3...46.0.5)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-13 10:08:44 +01:00
Merin George
10904385e3 drivers: bluetooth: infineon: rename BT-HCI UART driver
This change renames the Infineon BT-HCI UART driver source
and binding file to allow reuse across all Infineon AIROC
connectivity chips that use HCI UART transport.
No functional changes

Signed-off-by: Merin George <merin.george@infineon.com>
2026-02-13 10:08:20 +01:00
Peter Mitsis
1ceeb47b9d tests: Add sys_dlist_range_xxx() tests
Adds basic tests for both sys_dlist_range_append() and
sys_dlist_range_prepend().

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-02-13 10:07:33 +01:00
Peter Mitsis
79b53db687 kernel: Move range of nodes from one list to another
Adds routines to remove a range of nodes from one list and either
prepend them or append them to another. This can be more efficient
than moving them one by one.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-02-13 10:07:33 +01:00
Ian Morris
e48eae5fd2 boards: renesas: ek_ra2l1: added arduino node labels
Added arduino_serial, arduino_i2c, arduino_spi and arduino_header node
labels to EK-RA2L1 device tree board definition, allowing compatible
shield boards to be used.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2026-02-13 10:07:14 +01:00
Krzysztof Chruściński
b6f9edfba6 tests: drivers: uart: async_api: Clean up nrf54lm20 configuration
Remove uart00 specific test configuration and use a single configuration
approach with test running on two instances.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-13 10:07:02 +01:00
Tom Burdick
cd1cc1c0ca rtio: Make the cacheline struct size check optional
This check was asserting on the wrong struct size and was not taking in
the architecture configured cache line size. The build assert now checks
the right struct size and takes into account the configured cache line
size or sets a default.

Additional makes the check entire opt in.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-02-13 10:06:50 +01:00
Tom Burdick
b91a201b15 rtio: Make OP_DELAY optional
OP_DELAY requires embedding in the submission queue entry a _timeout
struct which can push the struct size over the specified 64 byte (cache
line) limit.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-02-13 10:06:50 +01:00
Jose Alberto Meza
5fac2ee32e samples: drivers: espi: Fix reference to SPI driver for TAF sample code
spi0 node removed in recently Microchip driver update
Update sample code to fix build error.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-02-13 10:06:28 +01:00
Alex Lyrakis
359dead234 riscv: pmp: add option to unlock ROM region for debugging
Add CONFIG_PMP_UNLOCK_ROM_FOR_DEBUG option to conditionally disable
the lock bit (L=0) for the ROM region PMP entry. This allows debuggers
running in machine mode to access ROM for setting breakpoints and
reading instructions while preserving userspace protection.

When PMP lock bits are set, they restrict access even in machine mode,
causing "unable to halt hart" errors with hardware debuggers like
OpenOCD. This option provides a surgical fix that only affects the ROM
region - NULL pointer guards and stack guards remain locked to catch
critical bugs during development.

The option integrates with existing PMP_NO_LOCK_GLOBAL configuration
using nested COND_CODE_1 macros and defaults to disabled for production
builds.

Fixes: zephyrproject-rtos/zephyr#82729

Signed-off-by: Alex Lyrakis <alex_gfd@hotmail.com>
2026-02-13 10:06:18 +01:00
David Jewsbury
a1d51892e5 drivers: mspi_dw: nrf_qspi_v2: Add support for format registers
Format registers are intended for the display but are also
required to  format the data when the data transfer
doesn't align with 4 bytes. A follow-up PR will come later
for display support with configuration in devicetree.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-02-13 10:06:03 +01:00
Johann Fischer
eee1fa2d2c usb: usbip: use recently introduce zsock_send_all()
zsock_send() does not necessarily have to send the entire data. Use the
recently introduced function zsock_send_all().

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-02-13 10:05:52 +01:00
Johann Fischer
6f602ded27 usb: usbip: retry if the UHC transfer allocation fails
Depending on the server, functions, and client application, we may
get out of transfers very quickly. To throttle here may allow
submitted transfers to be finished.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-02-13 10:05:52 +01:00
Johann Fischer
665ab07831 usb: usbip: use variable buffer pool for URB data
UHC transfer handling and assignment of completed transfers to URB
sequences relies on the buf->size. For that, we can just use variable
net_buf pools instead of fixed. Perhaps it gives us also better
utilization of the buffer.

Add Kconfig optons to configure pool size and number of buffers
and use large default pool size for native_sim platform.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-02-13 10:05:52 +01:00
Johann Fischer
c9e105873a usb: usbip: improve completion handling when client disconnects
Make request completion handling a bit more robust when, for whatever
reason, the connection has been closed. Do not implicitly clear the USB
device pointer on client disconnect, to allow the completion callback to
clean up. Before handling USBIP_RET_SUBMIT, check whether the device is
still exported, and if not, just drop completed transfer.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-02-13 10:05:52 +01:00
Aksel Skauge Mellbye
b7767e9fb4 tests: drivers: gpio: basic_api: Enable test on xg24_rb4187c
Add overlay to enable test on xg24_rb4187c.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-02-13 10:05:40 +01:00
Emil Gydesen
283b7e18eb doc: Bluetooth: Update PBP version
Update the PBP version support to 1.0.2. There are no
functional changes needed by the stack for this update.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-13 10:05:25 +01:00
Henrik Brix Andersen
1e3483d262 drivers: spi: stm32: replace ll_func_* by ll_*
Replace remaining ll_func_* by ll_* for LL function redefinitions in the
STM32 SPI driver.

Fixes: 938fe74aae

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-02-12 23:21:06 +01:00
Yves Wang
81b0116cea doc: west: Update and improve extensions documentation
Update extensions doc with the latest west output format.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-02-12 20:05:08 +01:00
Fin Maaß
d1a847fe97 drivers: ethernet: phy: remove redundant default condition
menuconfig ETH_PHY_DRIVER is already inside a
`if ETH_DRIVER`, meaning it already depends on it,
therefore the condition for the default y is not needed.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-12 20:04:49 +01:00
Henrik Brix Andersen
239609600a drivers: can: use DEVICE_API_GET() for obtaining the can_driver_api struct
Use the DEVICE_API_GET() macro for obtaining a pointer to the
can_driver_api struct from the device struct.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-02-12 20:04:37 +01:00
Guillaume Gautier
938fe74aae drivers: spi: stm32: replace ll_func_* by ll_*
Replace ll_func_* by ll_* for LL function redefinitions in the STM32
SPI driver.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-12 20:04:25 +01:00
Guillaume Gautier
543d070763 drivers: i2s: stm32: replace ll_func_* by ll_*
Replace ll_func_* by ll_* for LL function redefinitions in the STM32
I2S driver.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-12 20:04:25 +01:00
Guillaume Gautier
f135f10d6c drivers: counter: stm32: replace ll_func_* by ll_*
Replace ll_func_* by ll_* for LL function redefinitions in the STM32
counter driver.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-12 20:04:25 +01:00
Sylvio Alves
39de685f64 drivers: gpio: esp32_lp: add pull-up/down and wakeup support
Add GPIO_PULL_UP and GPIO_PULL_DOWN handling in pin_configure
and enable LP_IO wakeup source in pin_interrupt_configure via
rtcio_ll_wakeup_enable(). Both rtcio_ll_intr_enable() and
rtcio_ll_wakeup_enable() are required for LP_IO wakeup to
function, as clk_en must be set for the interrupt status
register to update.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-02-12 20:04:04 +01:00
Fin Maaß
772aa8da66 adc: ads1x1x: only use configurable inputs when needed
only use configurable inputs when needed for that device.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-12 20:03:53 +01:00
Erik Tamlin
1b1b5bfd7c manifest: update percepio
Update the percepio module to use TraceRecorder v4.11.1

Signed-off-by: Erik Tamlin <erik.tamlin@percepio.com>
2026-02-12 20:03:39 +01:00
Gaetan Perrot
8c60b7da6b drivers: audio: tlv320dac310x: make codec_configure_filters void
codec_configure_filters () never reports errors and always returns
0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-12 20:03:14 +01:00
Gaetan Perrot
99b2ee4f24 drivers: audio: tlv320aic3110: make codec_configure_filters void
codec_configure_filters () never reports errors and always returns
0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-12 20:03:14 +01:00
Pieter De Gendt
f91399d2f5 drivers: pwm: Put driver APIs into iterable section
Use the DEVICE_API macro to put the PWM driver APIs into the correct
iterable section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-12 14:33:20 +00:00
Alberto Escolar Piedras
23e8525bdf samples: drivers: biometrics: Add missing overlay
The sample is set to be built and run both for native_sim and
native_sim//64, but lacks an overlay for the 64 bit variant, and
fails at runtime. Let's add an overlay for it which just refers to
the 32bit variant.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-02-12 14:33:13 +00:00
Pieter De Gendt
ec067db807 drivers: led: pca9533: Put API into iterable section
Use the DEVICE_API macro to put the driver API into the correct API linker
section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-12 14:32:59 +00:00
Pieter De Gendt
1692f6d657 drivers: auxdisplay: tm1637: Put API into iterable section
Use the DEVICE_API macro to make sure the device API is in the respective
API linker section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-12 14:32:40 +00:00
Pieter De Gendt
baba005e03 net: dns: resolve: Take lock before calling dns_resolve_init_locked
The mutex should be held when calling dns_resolve_init_locked as mentioned
in a comment above the function.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-12 14:32:19 +00:00
Adam Kondraciuk
8870f73c17 drivers: audio: dmic_nrfx: Add support for HFCLK24M clock
Some devices use a 24 MHz PCLK as the ACLK for the PDM peripheral.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2026-02-12 14:32:07 +00:00
Adam Kondraciuk
a8607813b1 drivers: i2s: Add support for HFCLK24M clock
Some devices use a 24 MHz PCLK as the ACLK for the TDM peripheral.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2026-02-12 14:32:07 +00:00
Zhaoxiang Jin
642e292f54 MAINTAINERS: Apply to become CPU frequency collaborator
I am very interested in this domain and currently work in it.
I have participated in PR reviews, fixed bugs in this domain,
and enabled related features for it. I am applying to become
a collaborator for this domain and commit to participating in
domain-related activities in the future.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-02-12 14:31:57 +00:00
Pavel Vasilyev
cc5bc6cf3e tests: bsim: bluetooth: host: Add missing license to id_addr_update test
Restore missing license in these 2 files based on license from their .c
counterparts.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2026-02-12 14:31:38 +00:00
alperen sener
754997b13b tests: bsim: bluetooth: fix local header file inclusion
Use target_include_directories() for test-local headers instead of
zephyr_include_directories(). Global inclusion of relative paths can
cause name conflicts with common names like common.h, utils.h etc.
and break builds, or can even cause wrong inclusion.

Also this is a better practise to not expose local directories in
global scope and have build hygiene.

Signed-off-by: alperen sener <alperen.sener@nordicsemi.no>
2026-02-12 14:30:46 +00:00
David Schneider
7d0dc5ded1 boards: rp2040: fix missing ranges for RP2040-based boards
Add the `ranges` property to the flash node on RP2040-based boards to
correctly specify the base address and size for child nodes. This aligns
the board device trees with expected Zephyr DT conventions and ensures
proper address translation for flash partitions and other child nodes.

Signed-off-by: David Schneider <schneidav81@gmail.com>
2026-02-12 14:30:22 +00:00
Jamie McCrae
c1c1683229 boards: nordic: nrf54l15dk: Fix missing flash runner groups
Fixes missing groups for the nrf54l05 and nrf54l10 emulated board
targets

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-12 14:29:58 +00:00