Commit graph

126,787 commits

Author SHA1 Message Date
Jordan Yates
1d357e042c tests: lib: fdtable: declare the fd used by test
Ensure that the test has a free file descriptor to use.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-30 15:13:13 +02:00
fb01c781b6 samples: led: fix the CH32V003 overlay
The overlay was done before the PWM node was moved under the timer
node, breaking the build. Fix.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-10-29 20:32:52 -04:00
Måns Ansgariusson
8c07902a90 tests: kernel: pipe: Add concurrency test for zero-length pipes
This commit adds a new test case to the pipe API concurrency tests to
verify the behavior of zero-length pipes. The test ensures that writing
to a zero-length pipe blocks until data is read, and reading from a
zero-length pipe blocks until data is written—unless the pipe is closed,
reset, or the operation times out.

The test creates two pipes with zero-length buffers and spawns a helper
thread that performs complementary read/write operations. The two threads
use the pipe API as their only synchronization mechanism, validating the
correct blocking and wake-up behavior of zero-length pipes under
concurrent access.

Signed-off-by: Måns Ansgariusson <Mansgariusson@gmail.com>
2025-10-29 20:32:38 -04:00
Raffael Rostagno
14d26b2093 samples: openthread: esp32c6: Add testcase
Add testcase for ESP32-C6 for compiling test.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-29 20:31:03 -04:00
Raffael Rostagno
a9eb90a20e soc: esp32c6: Add IEEE802.15.4 MAC setting
Select IEEE802.15.4 MAC option in Kconfig.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-29 20:31:03 -04:00
Raffael Rostagno
2909f812a9 west.yml: hal_espressif: Update for ESP32-C6 fix
Update HAL for ESP32-C6 IEEE802.15.4 compile fix.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-29 20:31:03 -04:00
Abhinav Kulkarni
c0d1519891 drivers: wifi: nxp: Fixed host sleep issue
Fixed hostsleep issue for IW416 and IW612 socs

Signed-off-by: Abhinav Kulkarni <abhinav.kulkarni@nxp.com>
2025-10-29 20:30:22 -04:00
S Mohamed Fiaz
5828ba5ea1 driver: pwm: pwm_silabs_siwx91x: fix pm actions when PM is enabled
This fix addresses the issue encountered when power management (pm)
is enabled, as the PWM test suites utilize the GPIO driver, which
now incorporates the latest power domain enhancements and requires
CONFIG_POWER_DOMAIN to be enabled. Power domain functionality
manages device power actions such as turning on and off.

Accordingly, the pm device support for the pwm_silabs_siwx91x
driver has been updated to align with the recent power domain
improvements.

Signed-off-by: S Mohamed Fiaz <Fiaz.Mohamed@silabs.com>
2025-10-29 14:29:34 -04:00
Filip Kokosinski
440b0c0915 doc/develop/manifest/external: add Zephelin
Add Zephelin [1], a Zephyr Profiling Library as an external module of the
Zephyr Project.

1: https://github.com/antmicro/zephelin

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-10-29 20:19:27 +02:00
Benjamin Cabé
20f3508443 doc: releases: Intermediate update for new 4.3 boards/samples/drivers
New boards, drivers, samples, and shields up to RC1 feature freeze

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-29 20:19:12 +02:00
Tomas Gudelevičius
e8043a48ac drivers: modem: use pm_device_driver_init() in modem_cellular.c
Remove Device Runtime PM "hack" used for modem cellular driver
initialization and use pm_device_driver_init() instead.

Signed-off-by: Tomas Gudelevičius <tomas.gudelevicius@draeger.com>
2025-10-29 20:19:00 +02:00
Tomasz Leman
45bfe066c7 ipc: intel_adsp_host_ipc: clear tx_ack_pending on PM resume
Fix IPC driver becoming non-operational after power management resume
due to stale tx_ack_pending state from before suspend.

After the IPC service backend refactor (commit cf7e2e63c1), the
intel_adsp_ipc_data structure contains function pointers for
suspend/resume handlers. This prevents using `memset` to clear the
entire structure during initialization, which was previously done in
intel_adsp_ipc_init.

Without clearing tx_ack_pending on resume, if the device enters D3 state
while still waiting for an IPC acknowledgment (e.g., from a previous
test iteration), the driver remains stuck in the waiting state after
resume. This prevents sending any new IPC messages, including the
FW_READY notification after D3 exit.

The fix explicitly clears tx_ack_pending during PM_DEVICE_ACTION_RESUME
to ensure the driver starts in a clean operational state after resume,
regardless of the state before suspend.

Fixes regression introduced in commit cf7e2e63c1

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2025-10-29 20:18:41 +02:00
Simon Walz
645e62fb8f tests: lwm2m: add test for senml cbor composite writer
This adds a test for the composite writer with time serialized resource and
resource instance values.

Signed-off-by: Simon Walz <simon.walz@autosen.com>
2025-10-29 20:18:30 +02:00
Simon Walz
fd780ae34e net: lwm2m: fix missing name entries for time-serialized resource instances
The LwM2M SENML JSON/CBOR decoder expects a name entry for every
time-serialized record. While this was already the case for resources,
resource instances were missing their corresponding name entries. This
change ensures consistency by adding name entries for resource instances
as well.

Signed-off-by: Simon Walz <simon.walz@autosen.com>
2025-10-29 20:18:30 +02:00
Jamie McCrae
20be667f16 mgmt: mcumgr: grp: settings_mgmt: Part revert settings save change
Partially reverts commit 7d2fb6c013,
it was originally thought that this commit added a method of saving
one specific key using the value that the device already has set,
but has been found to actually save the value that the user has
provided, bypassing the current value that the device has, which is
not compliant with the settings mgmt protocol, therefore remove
this change and it will need to be reworked in future to function
properly by saving one specific value from the device's current
configuration, not a user-specified value

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-10-29 20:18:20 +02:00
Sudan Landge
2408b808d2 tests: arm: exclude mps2/an385 on user stack test
Temporarily disable running the user stack tests on mps2/an385 to
unblock ci issues reported in #98494.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-10-29 20:17:58 +02:00
Chaitanya Tata
05899583fd ipc: icmsg: Increase default stack size
For nRF71 Wi-Fi a higher stack size is needed.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-10-29 13:48:33 +02:00
Filip Kokosinski
8fb76723a5 doc/releases: add instrumentation subsystem notes for release 4.3
This commit adds release notes for the 4.3 release for the instrumentation
subsystem.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-10-29 13:48:22 +02:00
Cristian Bulacu
536db93e8b samples: net: openthread: border_router: disable wifi blob for rw612
This commit disables monolithic wifi functionality for rw612 platform as
CI environement does not use binary blobs

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-29 13:48:11 +02:00
Cristian Bulacu
90204a005a boards: nxp: rw612: Add openthread netif parameter
This commit aims to allow CI to be executed for samples that are
dependent on openthread requirement

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-29 13:48:11 +02:00
Cristian Bulacu
9049964e52 samples: net: openthread: border_router: Fix compile issues
This commits fixes OpenThread border router application compile issues
generated by latest upstream changes

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-29 13:48:11 +02:00
Joel Schaller
ba5b5debc8 linker_script: Remove some remaining SUBALIGN in iterable/linker sections
The zephyrproject-rtos#91219 missed some entries when doing the clean-up.
This removes some of remaining SUBALIGN entries in the iterable sections.
Fixes CMake Warning:
zephyr_linker_section(NAME ...) given unknown arguments: SUBALIGN 4

Signed-off-by: Joel Schaller <joel.schaller16@gmail.com>
2025-10-29 13:48:01 +02:00
Anas Nashif
bd3865cd36 doc: release: move tagging schema under release process
Move this section to a more appropriate section under the release
process.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-10-29 13:47:50 +02:00
Anas Nashif
1d8d8ce014 doc: release: release process tweaks/fixes
- remove duplication of text talking about release phases.
- fix release cadence, 4-month -> 6-month
- Remove reference to Linux, right now, we are not even close, was at
  some point inspired by, but we moved on.
- Minor language fixes and clarifications.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-10-29 13:47:50 +02:00
Anas Nashif
06ef9fafe5 doc: release: move merge criteria under release process
Merge criteria does not beling under project role, move it under release
process.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-10-29 13:47:50 +02:00
Pieter De Gendt
ca37494f09 include: zephyr: nvmem: Add retval doxygen to read/write functions
Document the return values for the read/write NVMEM functions.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-29 13:47:30 +02:00
Jukka Rissanen
a02414a9bc net: zperf: Use %zd when printing size_t variable
Wrong printf format was using for size_t variable which caused
compiler warning and a failure.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-10-29 13:47:21 +02:00
S Mohamed Fiaz
ff2e9b5836 modules: wiseconnect: kernel sleeptimer bug fix siwx91x
The fix resolves the drift test failure as part of kernel
timer behaviour and timer api test suite.
Moved sleeptimer-related source files to RAM using zephyr_code_relocate
when CONFIG_SILABS_SISDK_SLEEPTIMER is enabled, and removed duplicate
listing from PMGR backend.Updated Kconfig to select SRAM_VECTOR_TABLE
and CODE_DATA_RELOCATION_SRAM for the sleeptimer service.

Signed-off-by: S Mohamed Fiaz <Fiaz.Mohamed@silabs.com>
2025-10-29 11:47:10 +00:00
dependabot[bot]
67bc635f62 build(deps): bump starlette from 0.48.0 to 0.49.1 in /doc
Bumps [starlette](https://github.com/Kludex/starlette) from 0.48.0 to 0.49.1.
- [Release notes](https://github.com/Kludex/starlette/releases)
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md)
- [Commits](https://github.com/Kludex/starlette/compare/0.48.0...0.49.1)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 0.49.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-29 13:47:01 +02:00
Lyle Zhu
354a63f401 bluetooth: classic: HFP_AG: Fix early SCO connection req sending
When creating the audio connection, the SCO connection request will be
sent before the response "OK" to AT command "AT+BCS" is issued.

It causes the issue that the HFP HF cannot response the SCO connection
request with the correct codec. Then the SCO connection cannot be
established properly.

Put all processing into the same context, thus avoiding non-sequential
execution caused by the different priorities of different threads.

Add a flag `BT_HFP_AG_AT_PROCESS` to flag the AT command is being
processed.

When the flag `BT_HFP_AG_AT_PROCESS` is set, put the pending
executions into temp list `tx_submit_pending`. After the AT response
`OK` or `ERROR` has been sent, move the pending executions from
`tx_submit_pending` to `tx_pending`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-10-29 11:44:52 +02:00
Khoa Nguyen
7e74b833e8 manifest: Update hal_renesas revision to get the correct ofs1 label
Update hal_renesas revision to obtain the correct
`option_setting_ofs1_sec` label for RA4E2,

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-10-29 11:44:43 +02:00
Vinayak Kariappa Chettimada
ce89a157e3 samples: Bluetooth: central_hr: Fix prj_minimal.conf use
Fix prj_minimal.conf as the project configuration and not as
the extra configuration for the sample.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-29 11:44:31 +02:00
Anas Nashif
303af992e5 style: fix 'if (' usage in cmake files
Replace with 'if(' and 'else(' per the cmake style guidelines.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-10-29 11:44:13 +02:00
Mario Paja
f0da1d79ff samples: i2s: output: fix nucleo_f767zi pllsai clock config
This change fixes PLLSAI clock configuration clock on
nucleo_f767zi board

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-10-29 10:33:12 +02:00
Khoa Nguyen
195008b365 dts: arm: renesas: ra: Correct address and move sdram-ctrl to ra8x1
- Correct address and size for sdram-controller node
- Move sdram-controller node from r7fa8d1xh.dtsi to ra8x1.dtsi,
since all RA8x1 devices have this hardware IP

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-10-29 10:33:01 +02:00
Cristian Bulacu
ecb5db6c92 samples: net: openthread: border_router: Fix packet forwarding bug
This commit fixes an issue introduced in #97531. Multicast routes added
by application are now set to have a prefix length of 16 bits instead of
128. This will allow multicast routing to all IPv6 addresses from those
groups.

For the OpenThread multicast listener callback, route length will be set
to 128 bits, as a MLD event is expected when an address is subscribed.
Route lookup has been removed since one will always be found as the
application registers multicast routes with same scope, but with a
smaller prefix length.

Fixed issue regarding packet forwarding and BBR state. Previously, code
was covering only the case wehn BBR was secondary and packet was
received from backbone interface. A secondary BBR should not forward a
multicast packet from OT interface to backbone interface and vice versa.

Improved unicast forwarding function to return from the beginning if the
packet has a multicast destination.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-29 10:32:42 +02:00
Pisit Sawangvonganan
74b3617003 doc: rst: fix typo in (boards, doc, samples)
Utilize a code spell-checking tool to scan for and correct spelling errors
in `.rst` files within the `boards`, `doc`, and `tests` directories.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-10-29 10:32:30 +02:00
Pisit Sawangvonganan
3678acf40d conf: fix typo in (samples, tests)
Utilize a code spell-checking tool to scan for and correct spelling errors
in `.conf` files within the `samples` and `tests` directories.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-10-29 10:32:19 +02:00
Tim Schrader
a0096b719c doc: update KConfig style guidelines
Add/update guidelines on how KConfig files should be written and organized
by identifying a common style currenlty used in most areas of the project
and formalizing it.

This should provide an aid for future merge request, code reviews and
refactorings to enable the acting party to better enforce consistency
in KConfig files.

Signed-off-by: Tim Schrader <tim.schrader92@gmail.com>
2025-10-28 20:30:39 -04:00
WenBin Zhang
a43f48b15e twister: Enhanced Filtering Command Help
Collect filter commands into a single location and sort them in the
order: arch, vendor, platform, pattern, filter, tag. This enhances
the readability of help information and reduces the time spent
searching for filter command options.

Signed-off-by: WenBin Zhang <freey7955@gmail.com>
2025-10-28 20:27:20 -04:00
WenBin Zhang
30e5ea8eea twister: Enhanced device-testing Command Help
Collect device-testing commands into a single location to enhance
readability of help information and reduce the time spent
locating device-testing options.

Signed-off-by: WenBin Zhang <freey7955@gmail.com>
2025-10-28 20:27:20 -04:00
Thorsten Klein
d58bc085bd scripts: west_commands: rework run_tests.py
reworked run_tests.py script:
- removed obsolete arguments from commands called by this script
- avoid code duplication by using a for-loop

Signed-off-by: Thorsten Klein <thorsten.klein@bshg.com>
2025-10-28 20:22:55 -04:00
Thorsten Klein
54ebd72ed9 scripts: west_commands: add pyproject.toml file
added pyproject.toml config file which allows to set paths for tools
like mypy or pytest. With this config file it becomes possible to
directly run those tools in a local zephyr tree.

Signed-off-by: Thorsten Klein <thorsten.klein@bshg.com>
2025-10-28 20:22:55 -04:00
184ee44620 drivers: clock_control: fix the ch32v003/006 build
A recent commit added support for the CH32V30x/20x PLL multiplier. The
code is protected by a `IS_ENABLED(...)` but uses a constant that
doesn't exist for the CH32V00x, breaking the build.

Tested by building samples/basic/blinky for the ch32v003evt and linkw.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-10-28 20:20:49 -04:00
Zackery Backman
6edfdb99f4 doc: develop: manifests: external: add wolfSSL
Add documentation to external module section for adding wolfSSL to Zephyr

Signed-off-by: Zackery Backman <backman23@live.com>
2025-10-28 20:20:29 -04:00
Mohamed Moawad
3559dd93ea drivers: spi: dw: Skip version detection on aux-reg platforms
The version register is not accessible through aux-reg interface,
So skip it entirely on platforms with aux-reg device tree property.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2025-10-28 20:17:26 -04:00
Jiafei Pan
6930d71447 west.yml: update hal_nxp
To fix tpm building issue on imx9131:
west build -p -b frdm_imx91/mimx9131
tests/drivers/counter/counter_basic_api -T drivers.counter.basic_api

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-10-28 20:16:24 -04:00
Tim Pambor
084609a7bb drivers: spi: shell: fix deprecation warning
Remove deprecated delay parameter from SPI DT macro.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-10-28 20:11:39 -04:00
Martin Hoff
f0cbba0f8e dts: arm: silabs: fix siwg917 default nwp power state
This patch fixes a bug where the siwg917 SoC didn't enter deep sleep
even when the CONFIG_PM Kconfig option was selected, due to the
default power state of the network coprocessor.

Users should only need to activate the CONFIG_PM Kconfig option
when they want to enable power management and be able to deep
sleep by default.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-28 08:47:22 -07:00
Jérôme Pouiller
f3e72b094f drivers: dma: siwx91x: Fix DMA_ADDR_ADJ_NO_CHANGE w/ memory destination
GPDMA does not support DMA_ADDR_ADJ_NO_CHANGE with a memory buffer. This
feature is required fro the SPI driver. Hopefully, SPI driver is the only
user of this feature.

Therefore, this commit introduces a hack for SPI. When the user want to
ignore the Rx data (= when he pass a NULL pointer for the Rx buffer),
rather than overwriting the destination in a loop, we just disable the rx
DMA.

This introduce a limitation: since Rx DMA stop early, any following Rx
request will start earlier than expected. Therefore, this patch breaks
cases with interleaved Rx buffers. In other words, the NULL buffer must be
the last one.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-10-28 08:46:48 -07:00