Commit graph

126,787 commits

Author SHA1 Message Date
Andrzej Puzdrowski
230b74dd98 boards/nordic/nrf54h20dk: Add button/LED aliases
Added aliases so that nrf54h20dk/nrf54h20/cpuapp can
use MCUboot serial recovery.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2025-10-09 12:40:16 -04:00
Firas Sammoura
93464d0361 arch: riscv: Use CONFIG_PMP_SLOTS for PMP array sizing
The arrays used for M-mode Physical Memory Protection (PMP),
specifically for the stack guard feature (CONFIG_PMP_STACK_GUARD),
were previously sized using the hardcoded PMP_M_MODE_SLOTS macro,
defined as 8. This affected arrays in both the _thread_arch
struct (m_mode_pmpaddr_regs, m_mode_pmpcfg_regs) and local
variables within the z_riscv_pmp_stackguard_disable function.

This commit changes the array sizing to use the Kconfig option
CONFIG_PMP_SLOTS. This option reflects the total number of PMP
slots available and configured for the target hardware.

Using CONFIG_PMP_SLOTS ensures these arrays are dimensioned
according to the system's actual capabilities, providing better
flexibility and correctness over a fixed size.

The PMP_M_MODE_SLOTS macro definition has been removed from
thread.h as it is no longer used.

Signed-off-by: Firas Sammoura <fsammoura@google.com>
2025-10-09 12:40:08 -04:00
Szymon Janc
a2af19bae1 bluetooth: hci: userchan: Improve RX allocation handling
This makes userchan transport behavior similar to other HCI
transports (eg IPC). Improved logging gives clear overview
of what RX events are discarded helping for configuration
tuning.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2025-10-09 12:38:49 -04:00
Szymon Janc
7f4f94e7f1 bluetooth: hci: Add data fields to event and meta event structs
Those flexible arrays allow for easy access to event data.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2025-10-09 12:38:49 -04:00
Adam Kondraciuk
0a8a8a6fb5 soc: nordic: nrf54h: Disable code relocation for MCUBOOT
MCUBOOT requires LTO to be enabled, while using code relocation
forces switching it off. When `__ramfunc` is used, LTO can also
be used. Then the `cache_retain_and_sleep` function will work
correctly, but slightly slower.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-10-09 12:38:36 -04:00
Filip Kokosinski
eb5566dead samples/subsys/instrumentation: add missing sample.yaml
This commit adds a missing `sample.yaml` file to the instrumentation
subsystem sample.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-10-09 12:38:08 -04:00
Michał Bainczyk
20932639cb drivers: nrf: Add missing SoC header includes to adc and i2s
Add missing SoC header include required by memory region assertion
to adc_nrfx_saadc and i2s_nrf_tdm shims.

Signed-off-by: Michał Bainczyk <michal.bainczyk@nordicsemi.no>
2025-10-09 12:37:58 -04:00
Robert Lubos
9c49eafef1 doc: release-notes-4.3: Add entry about CoAP client payload callback
Add release notes entry covering the new CoAP client payload callback.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-10-09 12:37:47 -04:00
Robert Lubos
85c49d839d net: coap_client: Document payload callback
Document the usage of the payload callback in the CoAP client
documentation page.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-10-09 12:37:47 -04:00
Robert Lubos
cea1651914 samples: net: sockets: Add CoAP Upload sample
Add a new sample demonstrating various ways of performing CoAP uploads
with the CoAP Client library:
 * short uploads with payload pointer
 * short uploads with payload callback
 * block transfer uploads with payload pointer
 * block transfer uploads with payload callback

The resource names have been chosen so that the sample can run out of
the box against the Zephyr's CoAP server sample.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-10-09 12:37:47 -04:00
Robert Lubos
fa22fa37cb net: coap_client: Add optional payload callback for uploads
Add an optional payload callback field to the coap_client_request
structure, allowing the application to provide blocks of payload
interactively during the resource upload, instead of having to provide
entire payload in a single contigunous memory space.

If registered, the CoAP client library will call the payload callback
whenever a new PUT/POST message is being generated (note this is also
true for retransmissions) instead of using the payload pointer/length.
If the payload callback is NULL, then the library operates as usual.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-10-09 12:37:47 -04:00
Robert Lubos
a6560c1a7b net: coap_client: Handle block size negotiation on upload
During block uploads, the server may respond with Block 1 option with
a smaller block size than currently used (so called block size
negotiation). The CoAP client however did not read the Block 1 option
from the response, therefore ignoring the server request to lower the
block size.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-10-09 12:37:47 -04:00
Declan Snyder
74d715c5ef pm: Remove "power state consistency" check
This check is totally wrong, min-residency-us and exit-latency-us are
not related to each other at all except that the end of the residency
period occurs when the exit starts, so they are totally orthogonal
values and should not be checking if one is less than the other or
anything like this. Even in the code for the default policy manager,
they are added together, so this check is incompatible / in disagreement
with that code, so it should be removed.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-09 12:37:07 -04:00
Declan Snyder
371f30d0a0 dts: bindings: zephyr,power-state: Clarify min-residency-us
Clarify the min-residency-us property meaning.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-09 12:37:07 -04:00
Cristian Bulacu
37cc1ff46b samples: net: openthread: border_router: Enable OT network diagnostics
Enablement of network diagnostics vendor info feature.
Updated nxp border router project config

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-09 12:36:57 -04:00
Cristian Bulacu
1a7e0dcdce modules: openthread: Enable configuration for network diagnostics
This commit adds new config flags used to populate OpenThread network
diagnostics fields.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-09 12:36:57 -04:00
Kyle Micallef Bonnici
1476fcb935 Devicetree: remove deprecated ok state
The `ok` state is deprecated and very few files are using this.
The DTS spec also does not have this value.

This PR removes this value once and for all.

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-10-09 12:36:43 -04:00
Raffael Rostagno
0d973905b6 tests: uart: async: esp32h2: Add config
Add test config for ESP32-H2.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-09 12:36:11 -04:00
Raffael Rostagno
4c55e8f93a drivers: uart: esp32h2: Add ASYNC support
Add ASYNC api support for ESP32-H2.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-09 12:36:11 -04:00
Raffael Rostagno
293b16d5ed west.yml: hal_espressif: Update for UART async
Update HAL for ESP32-H2 UART async support.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-09 12:36:11 -04:00
Ryan Erickson
0ab308590c modem: backends: isr: notify remaining RX bytes
If there are still bytes in the RX buffer, trigger another
MODEM_PIPE_EVENT_RECEIVE_READY event.

Signed-off-by: Ryan Erickson <ryan.erickson@ezurio.com>
2025-10-09 12:35:57 -04:00
Maciej Torhan
12d21dfc2d twister: scripts: add missing failure reason in Robot test runner
Add failure reason with return code when Renode process fails

Signed-off-by: Maciej Torhan <mtorhan@antmicro.com>
2025-10-09 12:35:48 -04:00
Torsten Rasmussen
1f35b83905 doc: change 'defined be' to 'be defined'
Reorder 'defined be' to 'be defined'.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2025-10-09 11:10:15 -04:00
Camille BAUD
c8d91030f8 soc: bflb: Enable bflb,l1c cache management for BL60x and BL70x
Enables controlling the cache of BL60x and BL70x

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-09 09:38:21 +02:00
Camille BAUD
e6ad1dae97 drivers: cache: Introduce bflb L1C cache driver
Introduce Bouffalo Lab L1C cache management functions
This allows invalidating instructions and data on
BL60x and BL70x

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-09 09:38:21 +02:00
Camille BAUD
63a52052df dts: bflb: Add bflb,l1c to bl60x and bl70x
Adds BL60x and BL70x cache nodes

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-09 09:38:21 +02:00
Camille BAUD
dfd5a60327 dts: cache: Add bflb,l1c binding
Adds binding for the bflb L1C cache control

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-09 09:38:21 +02:00
Pete Johanson
3c1bb43d3e boards: adi: Enable hwinfo support for missed MAX32 boards
This commit adds hwinfo to supported list of the following boards:
- MAX32655EVKIT
- MAX32657EVKIT
- MAX32690EVKIT
- MAX78002EVKIT

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-10-09 09:37:21 +02:00
Pete Johanson
1ec463e1a8 drivers: hwinfo: Memoize the USN fetched on MAX32
To avoid issues with multiple calls to fetch the USN returning garbage
data, memoize the returned USN value and re-use it on subsequent calls.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-10-09 09:37:21 +02:00
Zhaoxiang Jin
91ab372b6a samples: i2s_codec: Refine sample for samll RAM platforms
- Configure BLOCK count by using kconfig option
'EXTRA_BLOCKS' instad of fixed value. This allows user to
customize the RAM usage based on their platform.
- Keep the PCM data in flash to avoid large RAM usage.
- Refine the sample to get the SAMPLE_BIT_WIDTH
and BYTES_PER_SAMPLE from Kconfig options.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-09 09:37:10 +02:00
Aziz Sellami
9fd1e284c1 boards: nxp: imx95_evk_15x15: flexcan2: add pinctrl node
Add pinmux configuration to enable the can in zephyr.
Using the following pins:
 - CAN2_TX, GPIO_IO25
 - CAN2_RX, GPIO_IO27

Signed-off-by: Aziz Sellami <aziz.sellami@nxp.com>
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
2025-10-09 09:36:53 +02:00
Aziz Sellami
03d10544d6 boards: nxp: imx95_evk_15x15: add pinctrl for enetc_psi0
Adds pinctrl definition for imx95_evk_15x15.

Signed-off-by: Aziz Sellami <aziz.sellami@nxp.com>
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
2025-10-09 09:36:53 +02:00
Aziz Sellami
20eac0eec8 boards: nxp: imx95_evk: flexcan2: add pinctrl node
Add pinmux configuration to enable the can in zephyr.
Using the following pins:
 - CAN2_TX, GPIO_IO25
 - CAN2_RX, GPIO_IO27

Signed-off-by: Aziz Sellami <aziz.sellami@nxp.com>
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
2025-10-09 09:36:53 +02:00
Mario Paja
1b533322e9 samples: i2s: output: add nucleo_l552ze_q
Add nucleo_l552ze_q board in samples/drivers/i2s/output

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-10-09 09:36:37 +02:00
Mario Paja
e892deba9e drivers: i2s: stm32 sai add support for stm32l5xx series
STM32L5xx series shares several DMA configurations with
the other platforms. These changes aim to enable platform
specific DMA configuration and align them to other platforms.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-10-09 09:36:37 +02:00
Mario Paja
694459e4f4 dts: st: l5: add sai1 nodes
This change introduces PLLSAI1 and  SAI1 A/B nodes to STM32L5xx series

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-10-09 09:36:37 +02:00
Mario Paja
49dedb0b82 dt-bindings: clock: add stm32l5_clock
This change introduces stm32l5xx clock definitions and separates
it from L4xx series. This change comes because of CCIPR missmatch
of SAI between L4xx and L5xx series.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-10-09 09:36:37 +02:00
Quang Le
ec4f8ac73f soc: renesas: Retrieve SYS_CLOCK_HW_CYCLES_PER_SEC from dts
Retrieve the value of SYS_CLOCK_HW_CYCLES_PER_SEC from the osc node in
the RZ/A3UL devicetree.

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-09 09:36:24 +02:00
Quang Le
4009fb12d9 dts: renesas: Add Clock Control support for RZ/A3UL, V2L
Add Clock Control nodes to Renesas RZ/A3UL, V2L devicetree

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-09 09:36:24 +02:00
Quang Le
f85ceddea6 drivers: clock control: Add Clock Control support for RZ/A3UL, V2L
Add Clock Control driver support for Renesas RZ/A3UL, V2L

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-09 09:36:24 +02:00
Quang Le
7ec5d9549e manifest: Update commit id for hal_renesas
Update commit id for hal_renesas

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-09 09:36:24 +02:00
Shan Pen
ffb91a2b45 drivers: sdmmc_stm32: Fix bus width initialization sequence
Fix SDMMC initialization by starting with 1-bit bus mode and
properly configuring wide bus operation after HAL
initialization.

The SDMMC protocol requires initialization to start in
1-bit mode before switching to wider bus widths.
Previously, the driver attempted to initialize directly
with the target bus width, which could cause later read/write
failures.

Changes:
- Initialize with SDMMC_BUS_WIDE_1B instead of target bus width
- Add HAL_SD_ConfigWideBusOperation() call if needed after
successful init
- Add error logging for wide bus configuration failures

Fixes potential SDMMC read/write failures issues on STM32 platforms.

Signed-off-by: Shan Pen <bricle031@gmail.com>
2025-10-09 09:36:10 +02:00
Camille BAUD
57df5abaa6 tests: build_all: display: Add st730x
Add tests for st730x display controllers.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-08 18:28:28 -07:00
Camille BAUD
d6d21ec3ec drivers: display: Introduce st730x display controller
Introduces epaper-like high resolution st730x serie controllers. b&w only

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-08 18:28:28 -07:00
Tim Pambor
fa7f1b18f7 tests: llext: Improve compatibility with 64-bit platforms
Cast elf32_off/elf64_off to uint64_t and use %llu format specifier
to ensure compatibility with both 32-bit and 64-bit platforms.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-10-08 18:27:19 -07:00
Tim Pambor
ccd5112dd7 tests: shell: Improve compatibility with 64-bit platforms
Use %zu format specifier for size_t type to ensure compatibility with both
32-bit and 64-bit platforms.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-10-08 18:26:33 -07:00
Binh Nguyen
4b306d2d89 MAINTANERS: Update hal_renesas collaborator
Add binhnguyen2434 and nhutnguyenkc as collaborator for
HAL Renesas repo.

Signed-off-by: Binh Nguyen <binh.nguyen.xw@renesas.com>
2025-10-08 18:25:45 -07:00
Emil Gydesen
0abb23ffad Bluetooth: ISO: rm extra log statements in chan_send
bt_iso_chan_send and bt_iso_chan_send_ts would log
twice for each TX, which is unncessary. LOG_DBG statements
include the function name by default, so the 2nd log
statement was unncessary, and were removed.

Added logging of the ts in bt_iso_chan_send_ts which
would still make it possible to tell the 2 apart,
even if CONFIG_LOG_FUNC_NAME_PREFIX_DBG=n.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-08 18:25:17 -07:00
Anas Nashif
55af38cdbf samples: move pmci samples into samples/subsys/pmci
Move pmci samples under samples/subsys/pmci, given that pmci is a
subsystem in zephyr.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-10-08 18:24:27 -07:00
Camille BAUD
4f3d385c3c soc: bflb: Enable xuantie arch support for bl61x
Enables the Xuantie support for bl61x

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-08 15:12:49 -04:00