Commit graph

12,113 commits

Author SHA1 Message Date
Fabrice DJIATSA
382362f869 samples: drivers: mspi: mspi_flash: add support for stm32l562e_dk
add overlay file to configure external flash to run sample
in octal mode with dual rate transfer.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-02-04 12:51:37 -06:00
Fabrice DJIATSA
75ce0bf27c samples: drivers: spi_flash: update dma stream and ospi mode
PR #94869 now handles the DMA offset internally within the driver.
Therefore, the dma_stream channel is no longer increment by
STM32_DMA_STREAM_OFFSET(1) in the flash_stm32_ospi driver.

Additionally update in stm32l562e_dk dts the OSPI mode from
OSPI_OPI_MODE to OSPI_SPI_MODE to enable the sample to run
succesfully.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-02-04 12:51:37 -06:00
Sylvio Alves
e746c1ca92 samples: blinky_pwm: fix pwm pin for esp32c3_supermini
Change LEDC channel 0 pinmux from GPIO2 to GPIO8 to match
the onboard LED location on the ESP32-C3 SuperMini board.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-02-04 13:55:04 +01:00
Hake Huang
3d9711181c samples: watchdog: check node enablement in filter
if the node is not enabled in this sample, filter it out

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-02-04 13:51:45 +01:00
Ren Chen
722085372c sample: drivers: ps2: move saturate ps2 handling to workqueue
The timer expiry function is executed by the system clock
interrupt handler. k_sleep() should not be called from
interrupt context. This change deferrs execution to system
workqueue.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-02-04 13:50:23 +01:00
Kyle Bonnici
f55358bcbf dts: use lowercase hex values in DTS files.
Apply chnages from dts-linter 0.3.9.

Improve compliance with DTS Coding Style which says that:

4) Hex values in properties, e.g. “reg”, shall use lowercase hex.
   The address part can be padded with leading zeros.

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-02-04 13:49:43 +01:00
Sylvio Alves
883f6e6dca samples: ipm: esp32: fix board qualifier separator in sysbuild
After the BOARD_QUALIFIERS alignment between CMake and Kconfig, the
CMake variable no longer has a leading '/'. Add the separator
explicitly when constructing IPM_REMOTE_BOARD.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-02-03 14:32:24 -06:00
Robert Lubos
ac80abface net: coap: Use dedicated pointer for resource metadata
CoAP .well-known/core handling routine assumed that the "user_data"
pointer in struct coap_resource will be set to a valid struct
coap_core_metadata pointer, or left NULL. This approach is error
prone (application cannot use "user_data" field freely) and renders the
"user_data" field useless for other cases.

Therefore, introduce a separate "metadata" pointer within the struct
coap_resource specifically to configure the resource-related metadata,
and leave "user_data" for the applications to use freely.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-02-03 14:30:02 -06:00
Benjamin Cabé
18e5a700a0 doc: treewide: drop reST substitutions for non-ASCII characters
Copyright sign, trademark sign, registered trademark sign, ... and other
non-ASCII characters are OK to use in the documentation source files.
Replace them with the corresponding Unicode characters.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-03 14:26:41 -06:00
Alexander Kozhinov
44f734d8b6 samples: drivers: opamp: add nucleo_g474re support
add NUCLEO-G474RE board overlay for OPAMP output_measure sample

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2026-02-03 14:21:28 -06:00
Ha Duong Quang
dcf45e7be2 samples: enable flash samples for s32k566 board
Enable flash samples for s32k566 board

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-02-03 08:20:27 -06:00
Krzysztof Chruściński
ce2a264a87 samples: modem: Update configuration for nrf9160dk
In sample that is using a cellular modem on nrf9160dk the UART driver
feature was enabled to use TIMER peripheral for byte counting. It used
to be required to reliably received data even with HWFC. Some time ago
default receiver has been changed and UART with HWFC is able to reliably
receive data without need of using TIMER and PPI for byte counting.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-03 12:12:41 +00:00
Torsten Rasmussen
f6aff5b460 cmake: align SNIPPET_ROOT with other Zephyr '<type>_ROOT' lists
Zephyr `<type>_ROOT`s, such as `BOARD_ROOT`, `DTS_ROOT`, `SCA_ROOT`,
are initialed by ROOT settings provided through CMake variable
`<type>_ROOT`, Zephyr base, and root settings specified in Zephyr
module's `zephyr/module.yml` file.

`SNIPPET_ROOT` didn't follow the same pattern as it also included
application source dir.

This commit aligns `SNIPPET_ROOT` to follow same principle for
constructing other Zephyr `<type>_ROOT` lists.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2026-02-03 13:08:20 +01:00
Waqar Tahir
436d2e3673 samples: tfm: Enable mcxn947 psa-test samples
Add mcxn947 for psa-based samples and
secure partition sample

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-02-03 13:05:20 +01:00
Zafer SEN
9a36b7f1a5 samples: modem: hello_hl78xx: add GNSS demo & event callbacks
Add HL78xx GNSS support to the sample, including GNSS data/satellite
callbacks, optional auxiliary NMEA parsing, and a guided demo flow
that runs GNSS first when the modem boots in minimum functionality.

Key changes:
- Disable shell wildcard expansion to avoid unintended command matches
  (CONFIG_SHELL_WILDCARD=n).
- Enable GNSS core and HL78xx GNSS integration.
- Configure satellites reporting and cap to 24 for concise logs.
- Start GNSS in AUTO mode and use GPS+GLONASS constellations.
- Boot modem in airplane (minimum functionality) to allow GNSS RF use.
- Support GNSSLOC (latest known fix) as an alternative to NMEA.
- Add optional NMEA output path and auxiliary NMEA sentence parsing.
- Add detailed logging for fixes, quality, HDOP, and satellites-in-view.
- Handle GNSS engine lifecycle and position events via evt monitor.
- Provide demo flow to:
  1) Enter GNSS mode, 2) queue search, 3) wait for fix,
  4) optionally query GNSSLOC, 5) exit GNSS and return to LTE.
- Rework sample boot path to run GNSS before LTE when not fully
  functional, then reconnect to the network.
- After successful FOTA, re-run the app path to show updated modem info.

Behavior and impact:
- When GNSS is disabled, sample behavior remains unchanged.
- When GNSS is enabled, sample can collect a fix before LTE attach.
- LTE/GNSS RF sharing is respected; GNSS start is blocked if LTE is
  active; airplane mode is used to permit GNSS operation.
- Enhanced logs improve visibility during field testing and demos.

Configuration highlights:
- CONFIG_SHELL_WILDCARD=n
- CONFIG_GNSS=y
- CONFIG_HL78XX_GNSS=y
- CONFIG_GNSS_SATELLITES=y
- CONFIG_HL78XX_GNSS_SATELLITES_COUNT=24
- CONFIG_HL78XX_GNSS_START_MODE_AUTO=y
- CONFIG_HL78XX_GNSS_CONSTELLATIONS_GPS_GLONASS=y
- CONFIG_MODEM_HL78XX_BOOT_IN_AIRPLANE_MODE=y
- CONFIG_HL78XX_GNSS_SOURCE_LOC=y
- Optional NMEA/AUX:
  - CONFIG_HL78XX_GNSS_SOURCE_NMEA=y
  - CONFIG_HL78XX_GNSS_AUX_DATA_PARSER=y
  - CONFIG_HL78XX_GNSS_ADVANCED_NMEA_CONFIG=y
  - CONFIG_HL78XX_GNSS_NMEA_{VTG,GNS,GLL,ZDA}=y

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-02-03 09:41:36 +01:00
Zafer SEN
3bfd923e64 samples: net: aws_iot_mqtt: tune HL78xx overlay for TLS and memory
Adjust the SWIR HL78xx EVK overlay to improve stability and TLS
compatibility when connecting to AWS IoT.

- Increase main stack and heap sizes for MQTT/TLS workloads
- Select an RSA-based TLS cipher suite supported by AWS IoT
- Disable the ECDSA-only cipher suite not used with RSA certificates

No functional logic changes; configuration-only update for the sample.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-02-03 09:41:36 +01:00
Pete Johanson
53d78468c8 drivers: watchdog: Add MAX42500 driver
Add MAX42500 watchdog driver, including ability to configure voltage
monitors that can also generate reset conditions.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-02-02 11:38:49 -06:00
Neil Chen
1e03ea8ff7 boards: frdm_mcxa344: add temperature sensor support
1. enable temperature sensor support
2. verified samples/sensor/die_temp_polling

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-02-02 10:01:31 +01:00
Neil Chen
6691fe1530 samples: drivers/adc: Support adc example for NXP frdm_mcxa344
Support adc example for NXP frdm_mcxa344

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-02-02 10:01:31 +01:00
Ren Chen
222c24b60f sample: subsys: pmci: i3c_bus_endpoint: moves rx msg handler to sys workq
The binding function `mctp_i3c_target_tx()` is called by (libmctp)
`mctp_message_tx()`, and it uses `k_sem_take()`.

In the mctp/i3c_bus_endpoint sample, `mctp_message_tx()` is executed
from isr callback (`stop_cb`). However, `k_sem_take()` must not be
called from isr context. This issue can be detected when
`CONFIG_ASSERT` is enabled.

To fix this, this patch moves the rx message handler to the system
workqueue.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-02-02 10:00:55 +01:00
Arthur Gay
2c8f7dd41d samples: drivers: memc: Add support for stm32h7s78_dk PSRAM
This patch adds support for the STM32 XSPI memory controller in order to
enable PSRAM testing. It also adds a board overlay for the STM327S78
Discovery Kit that includes a PSRAM memory.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2026-01-31 17:29:32 +01:00
Ren Chen
171d1cd364 samples: drivers: ps2: add it51xxx_evb/it51526aw board
as title.

Tested with:
- west build -p always -b it51xxx_evb/it51526aw samples/drivers/ps2/

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-01-30 09:18:29 +01:00
Sebastian Głąb
1132ffc739 samples: boards: nordic: Check if register event sample works
Extend sample configuration with check that confirms
correct use of register event API.
Use PyTes to validate that code executes faster when
event is registered.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-01-30 09:17:50 +01:00
Krzysztof Chruściński
1ff5d9048e samples: boards: nordic: nrf_sys_event: Add nrf54lm20dk
Add overlay for nrf54lm20dk.
Manual configuration for RRAMC is currently disabled for that target.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-01-30 09:17:50 +01:00
Krzysztof Chruściński
bdc5d8c77b samples: boards: nordic: nrf_sys_event: Rework RRAMC latency part
Rework RRAMC latency part to use only a single configuration. In that
configuration there are 3 runs of the same code using 3 different
RRAMC modes. This approach does not require to recompile the sample
to see the results for different RRAMC configuration.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-01-30 09:17:50 +01:00
Thomas Decker
a592f996dd samples: sysbuild: with_mcuboot: nucleo_h7s3l8: Use ext_flash_app var…
…iant

Now that ext_flash_app variant is available, it should be used for
mcuboot related apps on this board.

Delete boards/nucleo_h7s3l8.overlay (and boards/stm32h7s78_dk.overlay)
which are not needed anymore.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2026-01-30 09:17:23 +01:00
Thomas Decker
1ed54aac9a boards: arm: st: nucleo_h7s3l8: Add *-block-size properties to xspi2
Add write-block-size and erase-block-size attributes to xspi nor flash
connected to xspi2. This is needed for mcuboot to handle flash access
of the ext_flash. The changes in the node structure is taken from the
stm32h7s78_dk board.

Update zephyr,flash-controller in samples/sysbuild/with_mcuboot/boards
/nucleo_h7s3l8.overlay to have CONFIG_STM32_APP_IN_EXT_FLASH set when
direct parent of flash is not XSPI but only the parent of the flash-
controller.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2026-01-30 09:17:23 +01:00
Sumit Batra
5df5dbc2f0 samples: pmci: mctp: usb_host_tester HS/FS agnostic & repeatable
Discover IN/OUT endpoint MPS at runtime (HS/FS agnostic).

Robust RX framing: handles header+payload in same read and
multiple frames per read.

Improve repeatability across consecutive runs:
detach kernel driver, clear halt, drain IN.

Add a ZLP-focused stress test:
Meaningful mainly for FS due to 1-byte LEN field.

Add BULK IN stress test

This makes the host tester a reliable regression tool for
MCTP-over-USB endpoint behavior.

Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
2026-01-29 16:10:49 -06:00
Fabrice DJIATSA
c07a283e35 samples: sensor: stream_drdy: boards:fix invalid dt enums in overlays
Fix Devicetree compilation errors caused by incorrect enum macro
names used in DTS overlay files.

Replace LSM6DSV16X_DT_ODR_AT_960Hz with the correct Devicetree enum
LSM6DSVXXX_DT_ODR_AT_960Hz in the stream_drdy sample boards overlay.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-29 14:25:57 +00:00
Yangbo Lu
967d19ffd5 samples: net: bridge: enable FDB table support
Enabled FDB table support in default for verification.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-29 14:25:09 +00:00
Jiafei Pan
9bd3e3f32d samples: zperf: add imx943_evk A55 SMP support
Add SMP board variant support for imx943_evk A55 platform.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-29 09:07:08 +01:00
Jiafei Pan
ba6f52a800 samples: dsa: add imx943_evk A55 SMP support
Add SMP board variant support for imx943_evk A55 platform

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-29 09:07:08 +01:00
Mario Paja
adbf5d57fd samples: i2s: output: nucleo_n657x0_q disable i2c4
This change disables i2c4 on nucleo_n657x0_q due to conflicts
with sai2_b

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2026-01-29 09:06:20 +01:00
Phuc Pham
e6922f874b samples: drivers: adc: Add sample support for RZ devices
Add sample support for board:
- RZ/G2L-SMARC, RZ/G2LC-SMARC
- RZ/T2L-RSK
- RZ/V2H-EVK, RZ/V2N-EVK

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-29 09:04:01 +01:00
Tomas Galbicka
60530a276f samples: nxp RT700 add sample to demonstrate DSP openamp communication
This commit adds sample amp-talk to demonstrate the openamp communication
between DSP and CM core.
It also uses multiple openamp instances on primary core to communicate with
other CM core and also DSP core.

Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
2026-01-28 21:56:20 +01:00
Yves Wang
44c6d6950b samples: edac: update README to use generic param1/param2 terminology
The EDAC sample README was using specific terminology (addr/mask) that
doesn't apply to all EDAC implementations. Update the documentation to
use the generic param1/param2 naming that matches the actual shell
command interface.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-28 14:41:30 +01:00
Sylvio Alves
ae4ec8713f samples: counter: alarm: add esp32h2 overlay
add device tree overlay for esp32h2 to enable timer0 counter in the
counter alarm sample.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-27 10:25:53 -06:00
Jamie McCrae
8cf1072edc samples: mgmt: mcumgr: smp_svr: Add raw serial Kconfig fragment
Adds a Kconfig fragment demonstrating how to use the raw UART
(serial) transport

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-27 10:23:45 -06:00
Torsten Rasmussen
a99311ebc6 cmake: align board qualifiers in CMake with Kconfig
Follow-up to PR# 102385.

Some occurrences of ${BOARD}${BOARD_QUALIFIERS} was missed in the
original alignment PR.

This commit adjusts the remaining occurrences to know include `/`.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2026-01-27 08:41:15 -05:00
Bjarki Arge Andreasen
d05a4fbbc8 samples: tests: drivers: watchdog: exclude nrf54l15tag
The nrf54l15 SoC is already present and tested through the
nrf54l15dk. Exclude from sample to save CI time.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-27 08:40:15 -05:00
Torsten Rasmussen
a0983a2f91 cmake: align board qualifiers in CMake with Kconfig
The value os board qualifiers in CMake and Kconfig differs.
CMake has a leading '/', as example:
CMake:   BOARD_QUALIFIERS=/nrf52840
Kconfig: BOARD_QUALIFIERS=nrf52840

This was also discussed in
https://github.com/zephyrproject-rtos/zephyr/pull/69740

This commit aligns the value of the CMake variable BOARD_QUALIFIERS to
the value of BOARD_QUALIFIERS (CONFIG_BOARD_QUALIFIERS) in Kconfig.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2026-01-27 10:52:37 +00:00
Gang He
f204f2ff87 samples: bluetooth: bap_broadcast_sink: add audio codec support
Support audio codec hardware for audio playback.

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-27 10:51:35 +00:00
John Batch
bc90fb959a samples: fade_led: add support for Infineon kit_psc3m5_evk board.
Adds support for the Infineon kit_psc3m5_evk evaulation board.

Note: The current implementation of PWM does not support output to a pin
with an on-board LED.  Output can be observed using an oscilloscope on
pins P1.4 and P2.6.

Signed-off-by: John Batch <john.batch@infineon.com>
2026-01-27 08:06:28 +01:00
Valerio Setti
c879937755 samples: net|mgmt|thrift: sockets: fix crypto and TLS Kconfigs
Use the TLS ciphersuite Kconfigs to select the desired TLS connection mode
instead of manually selecting all the crypto/key-exchanges Kconfigs.

For 'samples/subsys/mgmt/hawkbit' use the 'overlay-tls.conf' file for
testing 'sample.net.hawkbit.tls' instead of repeating the Kconfigs in the
yaml file.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-27 08:05:59 +01:00
Braeden Lane
657fa6d502 samples: drivers: counter: alarm: add cy8ckit_041s_max overlay
Add device tree overlay configuration for the Infineon PSoC4100S Max
board to enable the counter alarm sample.

The overlay configures TCPWM0_1 for counter operation with interrupt
18 and clock divider settings appropriate for the PSoC4100S Max chip.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-27 08:05:31 +01:00
Hubert Miś
f8edf22017 sample: drivers: led: sct2024 controller
A sample demonstrating usage of a driver for SCT2024 LED controller.
This sample enables 16 leds one by one and then disables them one
by one in an inifite loop.

Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
2026-01-26 10:09:43 -06:00
Valerio Setti
0fc524f377 samples: net: openthread: coap: enable NVS as Settings backend
When PSA Crypto API are used they need a PSA ITS implementation and this
is provided by Secure Storage if TF-M is not enabled in the build.
Secure Storage can use Settings as backend and Settings, on its turn, can
use several other backends to store data (ex: ZMS, NVS, etc).
Since NVS is already enabled in other OpenThread Zephyr samples, let's
enable NVS also for this sample.

While at it, also slightly re-organize "sample.yaml" to share more data
between tests and allow building and testing also on the nrf52840dk board.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Tomi Fontanilles
3616a23b54 samples: drivers: crypto: fix failing test on qemu_cortex_m3/ti_lm3s6965
The PSA setup functions would return -141
(`PSA_ERROR_INSUFFICIENT_MEMORY`).
Increasing the heap size makes the test run successfully.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-01-26 12:07:44 +01:00
Lyle Zhu
0d73d29962 bluetooth: classic: add callback for incoming connection requests
Add a callback mechanism to allow applications to handle incoming
BR/EDR connection requests and decide whether to accept or reject
them, as well as specify the desired role (central/peripheral).

Update bt_br_set_connectable() to accept an optional callback function
parameter. When provided, callback is invoked on incoming connection
requests, allowing the application to inspect the remote device address
and Class of Device before accepting or rejecting the connection.

If no callback is provided, the connection request is accepted
internally with the default behavior based on the
`CONFIG_BT_ACCEPT_CONN_AS_CENTRAL` configuration option.

The accept_conn() function is updated to:
- Call the registered callback if available
- Pass the remote device address and Class of Device to the callback
- Accept the connection if the callback returns BT_BR_CONN_REQ_ACCEPT_*
- If the returned value is BT_BR_CONN_REQ_ACCEPT_CENTRAL, the role
  switch will be requested.
- Reject the connection if the callback returns BT_BR_CONN_REQ_REJECT_*
- Add error handling and logging for failed connection acceptance

Update all existing callers of bt_br_set_connectable() to pass NULL
for the callback parameter to maintain backward compatibility.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-26 12:01:22 +01:00
Cristian Bulacu
089bb1f000 samples: net: openthread: Remove OT reference device flag for NXP RW612
This commit removes the OPENTHREAD_REFERENCE_DEVICE flag for NXP RW612
samples, as these are not meant to be included in a test setup.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-23 09:21:10 -06:00