Commit graph

136,983 commits

Author SHA1 Message Date
Emil Gydesen
318067ec6c tests: Bluetooth: tester: Removed bad guard in btp_gap.h
As per the Zephyr coding guidelines, functions declarations
in header files should not be conditionally compiled.

This fixes an issue with tester_gap_clear_adv_instance
where btp_gap.c always expect it to be available.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-11-20 08:58:56 -05:00
Armando Visconti
0f9932a9ae west.yml: fix build warnings in hal_st module
Fix hal_st module that broke CI.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2025-11-20 06:07:57 -05:00
TOKITA Hiroshi
571f5b92a0 drivers: xen: add DMOP hypercall wrappers
Add wrappers for following XEN_DMOP_* hypercalls.
These enables Xen device model control path:
dm_op provides operations to create/manage the ioreq server
so guest MMIO accesses are trapped and handled by the hypervisor.
These are guarded by CONFIG_XEN_DMOP.

- dmop
  - dmop_create_ioreq_server
    XEN_DMOP_create_ioreq_server
  - dmop_map_io_range_to_ioreq_server
    XEN_DMOP_map_io_range_to_ioreq_server
  - dmop_set_ioreq_server_state
    XEN_DMOP_set_ioreq_server_state
  - dmop_nr_vcpus
    XEN_DMOP_nr_vcpus
  - dmop_set_irq_level:
    XEN_DMOP_set_irq_level

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-11-20 06:06:43 -05:00
Anas Nashif
909373f10c scripts: set_assignee: get area object before before collabs
In the manifest case, we were operating on a str instead of the area
object.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-11-20 06:05:26 -05:00
Bindu S
4a0e6d48c9 samples: drivers: uart: async_api: Added support for ADL
Added support for async api application on ADL-n platform

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-11-20 06:04:09 -05:00
Jukka Rissanen
cbb56fddc3 doc: migration-guide-4.4: Add network API changes
Add information about the network API changes in 4.4 release.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-11-20 06:03:57 -05:00
Vit Stanicek
6a67a5570e dts: lpcxpresso55s69: Make mikrobus_i2c compliant
Remove non-compliant EOL in the mikrobus_i2c empty node declaration in
boards/nxp/lpcxpresso55s69/lpcxpresso55s69.dtsi.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-11-20 06:03:44 -05:00
Vit Stanicek
587bb77d8c samples: i2s_codec: Enable on mimxrt1170_evk@B/cm4
Add aliases to domain DT overlay and instantiate the wm8962 driver in
it. Add Kconfig fragment and a DT overlay for the sample.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-11-20 06:03:44 -05:00
Vit Stanicek
ea55b27c38 samples: i2s_codec: Enable on rd_rw612_bga
Instantiate the wm8904 driver in rd_rw612_bga's DT. Add MCLK clock
configuration to rw612's soc.c. Modify pinmux definitions to route
those. Add DT and Kconfig fragments to the sample. Document output jack
utilised.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-11-20 06:03:44 -05:00
Vit Stanicek
7341b8ad89 samples: i2s_codec: Enable on lpcxpresso55s69/cpu0
Modify board's pinctrl nodes to include the MCLK signal. Instantiate the
wm8904 driver. Add board specific Kconfig fragment and DT overlay. Set
up the MCLK signal.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-11-20 06:03:44 -05:00
Vit Stanicek
b3603a3fa5 boards: mimxrt685_evk/cm33: Update I2S sharing
Add SCK and WS signals to a shared signal set between Flexcomm #1 and
Flexcomm #3 for the mimxrt685_evk/mimxrt685s/cm33.

This enables the board to both transmit and receive audio, as the BCK
and WS signals produced by the WM8904 codec are only connected to the
Flexcomm #1 peripheral.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-11-20 06:03:44 -05:00
Vit Stanicek
f5cdf8153d dts: mimxrt685_evk: Map all pins of Flexcomm #1
Map all pins of RT685's Flexcomm #1 peripheral.

Needed for opration of Flexcomm #1 in I2S mode or Flexcomm #3 in I2S
mode with shared signals.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-11-20 06:03:44 -05:00
Vladislav Kulikov
0b3ec11762 smf: make while conditions MISRA 14.4 compliant
Replace pointer-as-condition checks, with explicit != NULL comparisons.
Which satisfies MISRA-C:2012 Rule 14.4 (controlling expressions shall be
essentially Boolean).

Signed-off-by: Vladislav Kulikov <vlad_kulikov_c@pm.me>
2025-11-20 06:03:31 -05:00
Charles Hardin
76c1d713c1 drivers: pwm: stm32: add device tree configuration for deadtime
When using an stm32 in a bridge circuit with complementary outputs,
the deadtime needs to be configurable to avoid shoot-thru current
on the circuit. So, the HAL has the configuration in the BDTR init
and use that api access to set the configuration.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2025-11-20 06:03:20 -05:00
Qingsong Gou
52e9064c65 boards: sifli: sf32lb52_devkit_lcd: enable trng
Enable trng on sf32lb52_devkit_lcd board

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-20 06:03:12 -05:00
Qingsong Gou
4519041538 drivers: entropy: sf32lb: add trng driver support
Add trng driver for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-20 06:03:12 -05:00
Qingsong Gou
b346fc3db4 dts: arm: sifli: sf32lb52x: add trng
Add trng for sifli sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-20 06:03:12 -05:00
Qingsong Gou
30079aa2bc dts: bindings: rng: add sifli,sf32lb-trng
Add sifli,sf32lb-trng

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-20 06:03:12 -05:00
Bartosz Miller
e638687af4 tests: driver: flash: Increase the single I/O test transfer timeout
Increase the allowed transfer timeout for the signel I/O test.

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-11-20 06:02:58 -05:00
John Batch
3c126ef124 tests: cyw920829m2evk_02: Updating tests boards for multiple socs
Updating supported tests for the cyw920829m2evk_02 board to support
multiple socs.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-11-20 06:02:48 -05:00
John Batch
2e1e786d61 Samples: Updating board files in samples for CYW820829
Updates all supported samples for the cyw920829m2evk_02 board to support
multiple SOC options.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-11-20 06:02:48 -05:00
John Batch
993196de27 Boards: Infineon: cyw920829m2evk_02: Adding new procssor variants
Adds the following processor variants and associated cards to the
cyw920829m2evk development kit:
- cyw20829b1010
- cyw20829b1340

Signed-off-by: John Batch <john.batch@infineon.com>
2025-11-20 06:02:48 -05:00
John Batch
23132b1dab Boards: Infineon: cyw920829m2evk_02: Reorganizing board hardware
Reorganizing board hardware definition in the device tree to better
reflect hardware design of separate processor board and base board.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-11-20 06:02:48 -05:00
John Batch
a736bb4cba Drivers: Bluetooth: Infineon: Updating CYW920829 Bluetooth for B1
- Updates Bluetooth driver to include bluetooth firmware for B1 device
  revision.
- Changes build behavior to allow building without blobs being fetched
  to allow CI to verify build.
- Adds cmake warning if blobs are not present.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-11-20 06:02:48 -05:00
John Batch
36ecb5a39c SOC: Infineon: CYW20829: Adding B1 devices to CYW20829 Family.
Adding B1 revision devices to CYW20829 family.
Clean up unsupported devices from SOC files.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-11-20 06:02:48 -05:00
John Batch
9102e8856d DTS: Infineon: CYW20829: Adding new SOC devices
Adding new MPN files for B1 part revision.
Updating existing parts to be consistent with changes made for other new
devices (PSOC Edge, PSOC Control C3).

Signed-off-by: John Batch <john.batch@infineon.com>
2025-11-20 06:02:48 -05:00
John Batch
33c49ced29 DTS: Infineon: CYW20829: Devicetree cleanup
Renames mpn device tree files to lowercase for consistency with other
devices.
Removes incorrect mpn and package devicetree files.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-11-20 06:02:48 -05:00
Alain Volmat
38d89c261c display: stm32-ltdc: ensure read/write rectangle fit into display
Ensure that x,y/width-height rectangle mentioned in display_read
and display_write are actually part of the framebuffer, otherwise
return an error.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-11-20 06:02:40 -05:00
Alain Volmat
21def020bd samples: add proper display api functions return value checks
Ensure that display api function return values are checked.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-11-20 06:02:40 -05:00
Cheng Chang
5959016f1b Bluetooth: classic: obex: Fix active client validation logic
Fix the active client validation in OBEX abort operations to
handle concurrent request scenarios. The check now
ensures that if there is an active client and it's different
from the current client, the operation is rejected with -EBUSY.

Signed-off-by: Cheng Chang <cheng.chang@nxp.com>
2025-11-20 06:02:24 -05:00
Lukasz Fundakowski
3a1428f957 twister: Keep pytest output formatting in log
Fixed formatting of pytest output in log by not removing
leading whitespaces.

Signed-off-by: Lukasz Fundakowski <lukasz.fundakowski@nordicsemi.no>
2025-11-20 06:02:15 -05:00
William Tang
8e00b688b4 dts: arm: nxp: s32k146: remove CAN FD support from flexcan2
Remove the `nxp,flexcan-fd` compatible property from flexcan2 node
for S32K146, keeping only `nxp,flexcan`. The FlexCAN2 instance on
S32K146 does not support CAN FD functionality, unlike flexcan0 and
flexcan1.

Signed-off-by: William Tang <william.tang@nxp.com>
2025-11-20 06:01:45 -05:00
Peter Johanson
eace19a59e drivers: input: Support invert x/y in rel mode
Despite the datasheet stating otherwise, the Pinnacle based trackpads can
have their X/Y data inverted when operating in relative mode, so set those
configs in all modes during init.

Signed-off-by: Peter Johanson <peter@peterjohanson.com>
2025-11-20 06:01:35 -05:00
Cheng Chang
ca1a522f93 bluetooth: classic : shell : Add test visibility for static functions
Add STATIC macro definition to conditionally expose static functions
for testing purposes. When CONFIG_ZTEST is enabled, STATIC expands
to nothing, making functions globally visible for unit tests.
Otherwise, STATIC expands to 'static' for normal builds.

Signed-off-by: Cheng Chang <cheng.chang@nxp.com>
2025-11-20 06:01:23 -05:00
Jerzy Kasenberg
7d88f4e886 smartbond_timer: Correct rounding in sys_clock_elapsed
The CYC_TO_TICK macro converts hardware cycles to
system ticks. Smartbond timers can be driven by XTAL32,
RC32K, or RCX sources. At the application level,
tests use milliseconds, which introduces rounding when
converting to hardware cycles.

Previously, CYC_TO_TICK rounded up, causing sys_clock_elapsed()
to sometimes report one extra tick. This value, propagated
through z_add_timeout() via elapsed(), was then used by tests
to determine the current time and the next wake-up point.
As a result, sleep duration was shortened by one tick,
leading to an unnecessary extra wake-up detected by the test.

With this fix, sys_clock_elapsed() no longer reports ticks
that have not fully elapsed, ensuring accurate sleep timing.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg.xr@bp.renesas.com>
2025-11-20 06:01:14 -05:00
Jerzy Kasenberg
3591f5cc82 tests: kernel: context: Disable PM for Smartbond
kernel context test check timing and extra interrupts
being thrown during sleep tests.

Power management is disabled because during tests
code tests sleep and with power management enabled
it could result in going to deep sleep that takes
more time than is allowed.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg.xr@bp.renesas.com>
2025-11-20 06:01:14 -05:00
Dylan Philpot
f1c2ce4f40 MAINTAINERS: update TI MSPM0 maintainers
Adds d-philpot as maintainer for TI MSPM0
Platform and hal-ti west project.

Signed-off-by: Dylan Philpot <d-philpot@ti.com>
2025-11-19 15:58:03 -05:00
Hardevsinh Palaniya
c784481ca0 drivers: video: Add ov5642 camera driver
Add driver to support ov5642 camera sensor

Co-developed-by: Rutvij Trivedi <rutvij.trivedi@siliconsignals.io>
Signed-off-by: Rutvij Trivedi <rutvij.trivedi@siliconsignals.io>
Signed-off-by: Hardevsinh Palaniya <hardevsinh.palaniya@siliconsignals.io>
2025-11-19 15:57:05 -05:00
Jamie McCrae
1cacdf8e43 doc: services: device_mgmt: smp_groups: Add note on single setting
Adds a note that saving single settings is supported, when the
required Kconfig is enabled

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-11-19 15:56:49 -05:00
Jamie McCrae
24e0515206 doc: releases: release-notes: 4.4: Add note on new settings Kconfigs
Lists new Kconfigs added to settings allowing single settings to be
saved to NVM without modifying their value

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-11-19 15:56:49 -05:00
Jamie McCrae
2443de2a7c tests: mgmt: mcumgr: settings_mgmt: Add test for single setting save
Expands the test to check thr functionality of the newly adding save
subtree/save single setting

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-11-19 15:56:49 -05:00
Jamie McCrae
1995b669a1 mgmt: mcumgr: grp: settings_mgmt: Allow saving single setting
Adds functionality that allows saving a single setting to NVM using
the newly added function in the settings subsystem. This also
replaces calling the subtree save function if it the underlying
Kconfig is enabled to reduce code paths in settings mgmt

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-11-19 15:56:49 -05:00
Jamie McCrae
6c43b61255 tests: settings: functional: Enable single settings check
Enables the Kconfig for the newly introduced
settings_save_subtree_or_single_without_modification() settings
function so that it is tested in CI

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-11-19 15:56:49 -05:00
Jamie McCrae
37677310c4 tests: settings: functional: Add test for save single function
Adds a test for the newly introduced
settings_save_subtree_or_single_without_modification() settings
function which allows saving a single value or subtree to NVM
without modifying the values

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-11-19 15:56:49 -05:00
Jamie McCrae
4616a8ac77 settings: Add function for saving (unchanged) single item/subtree
Adds a function that allows saving of a single setting item without
changing the value, or saving a subtree of settings, to the storage
backend

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-11-19 15:56:49 -05:00
Fei Wang
f1b3ee50b7 tests: lib: mpsc_pbuf:reproduces the deadlock scenario
The test creates two threads: a producer that calls mpsc_pbuf_alloc and
may block inside add_skip_item when entering k_sem_take, and a consumer
that calls mpsc_pbuf_claim when only a small amount of buffer space is
left.

In this condition mpsc_pbuf_claim attempts to reserve space even though
no data is available, preventing the producer from making progress.

Without the fix, the producer thread remains blocked indefinitely in
k_sem_take. With the fix applied, the consumer performs the required
k_sem_give, allowing the producer to resume allocation and the test to
complete.

Signed-off-by: Fei Wang <fei.wang@jaguarmicro.com>
2025-11-19 15:56:39 -05:00
Fei Wang
8af60c6239 lib: os: mpsc_pbuf: fix potential semaphore wait forever
One thread calls mpsc_pbuf_alloc to produce data, which invokes
add_skip_item and steps into k_sem_take.

Another thread calls mpsc_pbuf_claim to consume data. In this condition,
mpsc_pbuf_claim has only small remaining space and needs to call rd_idx_inc
to reserve space, but there is still no data available.

The consumer should call k_sem_give to wake mpsc_pbuf_alloc again,
so the producer can allocate space and continue producing data.

Without this wake-up, the producer thread may wait forever in
k_sem_take, leading to a deadlock situation.

Signed-off-by: Fei Wang <fei.wang@jaguarmicro.com>
2025-11-19 15:56:39 -05:00
Tomáš Juřena
598b904d7e doc: smf: Fix return type in event sample
Fix mismatch between `*_run` function return type and implementation.
The run functions return `enum smf_state_result`, but the event-driven
sample defined them as void while still returning a value.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2025-11-19 15:56:18 -05:00
Appana Durga Kedareswara rao
3ca21faab4 maintainers: Add Kedareswara Rao Appana as Xilinx collaborator
Add myself as a collaborator for Xilinx components. I have been actively
contributing and will continue reviewing and testing patches for the Xilinx
subsystems.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2025-11-19 15:55:56 -05:00
Vladislav Kulikov
51c96fc453 tests: smf: use BIT() for flat state flags
Replace manual '1 << n' flag definitions in the flat SMF test with the
common BIT(n) macro. This aligns the test with other SMF test.

Signed-off-by: Vladislav Kulikov <vlad_kulikov_c@pm.me>
2025-11-19 15:55:47 -05:00