Commit graph

12,113 commits

Author SHA1 Message Date
Brett Peterson
510c92f38e samples: drivers: audio: dmic: PSE84 support
Adding PSE84 overlay for the dmic sample. Adding a kconfig option to
select a hardware channel index other than 0.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-08 16:36:07 +01:00
Sylvio Alves
c6cefdf3e4 samples: boards: espressif: ulp: add console harness to timer_wakeup
Add console harness configuration to the LP core timer wakeup
sample to enable automated test validation via expected serial
output matching.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-06 21:38:04 +01:00
Sebastian Głąb
c84e4e3888 samples: drivers: i2c: Enable rtio_loopback sample on nrf54lm20b
Add overlay required to run the rtio_loopback sample on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 15:13:15 +01:00
Sebastian Głąb
3ce67933a8 samples: drivers: counter: Enable alarm sample on nrf54lm20b
Add overlay required to run the alarm sample on  nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 15:13:15 +01:00
Sebastian Głąb
6666899d73 samples: drivers: Enable spi_bitbang on nrf54lm20b
Add overlay required to run the spi_bitbang sample on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 15:13:15 +01:00
Chaitanya Tata
3bb97ca73a samples: net: wifi: shell: Add nRF7002Eb2 combos to twister
Add nRF7002EB2 with 54LM20 Series platforms to twister, 54L15 is not
added due to its low RAM.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-03-06 15:12:30 +01:00
James Bennion-Pedley
d0057bd2cc usb: uac2: kconfig override for feedback endpoint size
Adds compile-time option for overriding UAC2 Feedback endpoint to allow
usage with non-class-compliant Windows UAC2 driver.

Signed-off-by: James Bennion-Pedley <James.Bennion-Pedley@thinksmartbox.com>
2026-03-06 15:12:15 +01:00
Yangbo Lu
83487071e9 samples: ethernet: put gptp mimxrt1180_evk conf to right place
One gptp mimxrt1180_evk_mimxrt1189_cm33.conf file was missed
to move in below commit. Fixed it.

840d464ffb samples: net: move Ethernet samples to folder

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-03-06 11:35:59 +00:00
Sebastian Głąb
8876363d3f samples: drivers: audio: Enable dmic sample on nrf54lm20b
Add overlay required to run the dmic sample on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 11:35:15 +00:00
Sebastian Głąb
2d8fae2af6 samples: drivers: Enable spi_flash sample on nrf54lm20b
Add overlay required to run the spi_flash sample on nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-06 11:35:15 +00:00
Braeden Lane
d2968baecb samples/tests: add cy8ckit_041s_max support for pwm tests
Adds board-specific configuration and Devicetree overlays to support
the blinky_pwm sample and pwm_gpio_loopback test on the CY8CKIT-041S-MAX
development board.

Changes:
- Added overlay for blinky_pwm sample enabling PWM output and pin
  configurations.
- Added overlay for pwm_gpio_loopback test with loopback path defined
  as PWM output on P2.0 and GPIO input on P2.1.
- Enabled GPIO driver required for loopback verification.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-03-06 09:57:30 +01:00
Jose Alberto Meza
5c996247ce samples: drivers: espi: Refactor sample code to ease extensions
CAF eSPI flash API sample code and documentation about EC region
TAF eSPI APIs sample code

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-03-06 09:57:13 +01:00
Tien Nguyen
14525916cf samples: drivers: spi_flash: Add Flash support for RZ/A2M
Add Flash samples support for RZ/A2M-EVK

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:31 +01:00
Tien Nguyen
3a72e4f8ea samples: driver: jesd216: Add Flash support for RZ/A2M
Add Flash samples support for RZ/A2M-EVK

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:31 +01:00
Johan Alfvén
7944cdfef8 samples: tflm_ethosu: add Timing Adapters overlays + README
Add per-board Timing Adapters overlays for Corstone-300/320 and
document applying them via -DDTC_OVERLAY_FILE. Enables modeling of
memory bandwidth/latency on FVP/FPGA; overlays are provided but not
enabled by default.

Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
2026-03-05 16:06:59 +01:00
Vedant Malkar
86ff87ff81 Bluetooth: ISO: remove required_sec_level
Remove the required_sec_level for struct bt_iso_chan and
all related automatic security machinery built around it
(iso_chan_connect_security, bt_iso_security_changed,
BT_ISO_STATE_ENCRYPT_PENDING and the CONFIG_BT_SMP checks
in iso.c)

Applications can just call bt_conn_set_security() on the
ACL connection before bt_iso_chan_connect() instead.

Fixes #104751

Signed-off-by: Vedant Malkar <vedantitsme@gmail.com>
2026-03-05 11:15:32 +00:00
Waqar Tahir
768095e06b samples: tfm: Add mcxa577 in TF-M samples yaml
Add mcxa577 non secure target for the tfm_ipc
and tfm_regression samples.

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-03-05 10:04:11 +01:00
Sylvio Alves
1f672c777a soc: esp32c6: lp core gpio driver fixes and improvements
- Fix lp_gpio Kconfig dependency to use proper
  DT_HAS_ESPRESSIF_ESP32_LPGPIO_ENABLED symbol instead of
  SOC_ESP32C6_LPCORE, and separate GPIO_ESP32 from LPGPIO_ESP32

- fix lp_gpio compatible string to espressif,esp32-lpgpio to
  match the corrected Kconfig dependency

- enable global LP core interrupts at startup via
  ulp_lp_core_intr_enable() in lp_core_startup(); the LP core
  has no interrupt allocator so this must be done once for any
  peripheral using the single interrupt vector

- enable lp_gpio in gpio_wakeup sample overlay

- fix ESP_CONSOLE_UART_NUM default for LP HP UART console

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-05 04:51:18 +01:00
Valerio Setti
3d8207880e samples: net: sockets: http_get: add missing SHA alg
Add PSA_WANT_ALG_SHA_1 to the TLS configuration. This is required to
parse the certificate.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-03-05 04:44:46 +01:00
Surya Prakash T
dc25712645 samples: blinky_pwm: add overlay for cy8cproto_041tp
Adds the required Devicetree overlay to support the blinky_pwm
sample on the cy8cproto_041tp board, enabling PWM output
and pin configurations.

Signed-off-by: Surya Prakash T <suryat@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-03-05 04:42:21 +01:00
Seyoung Jeong
61d0f48df3 samples: pm: device_pm: add missing README.rst
Add README.rst documentation for the device_pm sample following the
standard Zephyr sample documentation template (doc/templates/sample.tmpl).

Fix incorrect doxygen group names and missing toctree declarations.
Update dummy drivers to use pm_device_driver_init instead of
pm_device_runtime_enable in their init functions. This removes the pre-
main 'suspending..' log messages. Add
CONFIG_PM_DEVICE_RUNTIME_DEFAULT_ENABLE=y to prj.conf so that runtime
PM is actually enabled for the dummy devices. Update sample.yaml
harness regex to match the new output (no pre-main suspending messages).

The README includes:
- zephyr:code-sample directive with relevant PM APIs
- Overview describing parent-child device PM hierarchy
- Requirements section
- Building and Running instructions with zephyr-app-commands directive
- Sample output verified on qemu_x86
- References to Device Runtime PM documentation

Tested by building and running on qemu_x86, confirming the expected
suspend/resume lifecycle output.

Relates to #27805

Signed-off-by: Seyoung Jeong <seyoungjeong@gmail.com>
2026-03-05 04:41:34 +01:00
Jose Alberto Meza
20e318b0bd samples: drivers: espi: Update sample to test against NPCX4
Adding missing NPCX4 board overlays that enables eSPI

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-03-05 04:41:14 +01:00
Lucien Zhao
7be67be0dd samples: adc: support adc_dt/adc_sequence on frdm_imxrt1186
- support adc_dt/adc_sequence on frdm_imxrt1186
- enable channel0/1 for adc test
   Channel 0: GPIO_AD_15 (ADC1_CH1B) via J51-2
   Channel 1: GPIO_AD_16 (ADC1_CH0A) via J51-4, ensure J28 is
              in 2-3 position

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-05 04:39:04 +01:00
Sebastian Głąb
789aa1e030 samples: drivers: Enable soc_flash_nrf on nrf54lm20dk
Enable soc_flash_nrf test on nrf54lm20a and nrf54lm20b.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-04 14:29:16 +00:00
Sebastian Głąb
450ac4b12a samples: drivers: Enable MBOX sample on nrf54lm20b
Add overlays required to run the MBOX sample on nrf54lm20b targets.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-04 14:29:16 +00:00
Tomi Fontanilles
8c0b27b0be modules: mbedtls: remove explicit enabling of CONFIG_MBEDTLS_BUILTIN
It's already the default in Zephyr. Do not enable it explicitly.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-03-04 13:38:00 +01:00
Bartlomiej Buczek
ba6d239671 samples: boards: nordic: system_off: Enable nrf54lm20b.
Enable sample for nrf54lm20dk/nrf54lm20b/cpuapp target.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2026-03-04 11:42:24 +01:00
Zhaoxiang Jin
fa5649e688 samples: pm: update pm latency sample messages and expectations
1. Update PM latency sample messages to match current
policy semantics where states with
exit_latency_us == max_latency_us remain eligible.

2. Adjust expected state transitions in the sample flow:
 - Under 30ms constraint, 1.3s sleep now expects STANDBY.
 - Under 20ms effective constraint, 1.2s/1.3s sleeps
   expect SUSPEND_TO_IDLE.
 - Under 10ms constraint, sleeps expect RUNTIME_IDLE (not ACTIVE).

3. Update twister console regex expectations with actual runtime logs.
4. Fix final log text expectation from 'Removing latency constraint'
to 'Removing latency constraints'.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-04 11:42:11 +01:00
Haoran Jiang
eec63c8e17 samples: drivers: crypto: Add crypto sample sf32lb dts define
Add crypto sample sf32lb dts define

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-03-04 11:38:33 +01:00
Hieu Nguyen
72a6a00494 samples: drivers: counter: Add support for RZ/A2M-EVK
Add support for RZ/A2M-EVK to Counter driver sample

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-04 11:38:24 +01:00
Armando Visconti
ee55e28c5b samples/sensor: rename stream_fifo to 6dof_fifo_stream
Choose a better name for this sample that combines both accelerometer
and vector channels data:

- SENSOR_CHAN_ACCEL_XYZ
- SENSOR_CHAN_GAME_ROTATION_VECTOR
- SENSOR_CHAN_GRAVITY_VECTOR
- SENSOR_CHAN_GBIAS_XYZ

This data can be used to track the translation and rotation of an
object immersed in 3D space.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-03-03 19:13:49 +00:00
Armando Visconti
6c1a379c57 samples/sensor: stream_fifo: remove nucleo boards
In case sensors are on a shield, the stream fifo configuration must be
done in a shield overlay file. Hence, remove F401RE and H503RB boards
overlay and configuration files and force building with proper -DSHIELD
option and extra overlay/configuration (-D EXTRA_DTC_OVERLAY_FILE= and
-DEXTRA_CONF_FILE=) files.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-03-03 19:13:49 +00:00
Peter Wang
0431850f9d board: nxp: frdm_mcxa577: enable adc driver
1. enable adc driver for frdm_mcxa577
2. tested tests/drivers/adc/adc_api/

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2026-03-03 17:58:05 +01:00
Jamie McCrae
a606bf3b3b Revert "lib: heap: rework chunksz_to_bytes into chunk_usable_bytes"
This reverts commit 81ac81a6d6.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-03 17:55:22 +01:00
Jamie McCrae
0114c14734 Revert "samples: mcumgr: smp_svr: disable heap hardening for ram_load variant"
This reverts commit 05828546db.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-03 17:55:22 +01:00
Michal Princ
e41289566f samples: drivers: Enabled hwspinlock sample for NXP mimxrt700_evk board
enabled hwspinlock sample for NXP mimxrt700_evk board

Signed-off-by: Michal Princ <michal.princ@nxp.com>
2026-03-03 13:31:38 +01:00
Rasmus Moeller
99a10b3cbc samples: bluetooth: hap_ha: add PACS locations and stream enable
This change introduces:

- Registration of stream \`enabled\` callback and automatic start of sink
  ASEs when the client enables them.
- Initialization of PACS locations for both Sink and Source directions,
  including proper handling of HA_LEFT / HA_RIGHT / Banded profiles.
- Publication of Supported and Available Audio Contexts for Sink and
  Source, ensuring the sample exposes the correct capabilities.
- Stream ops registration for all allocated streams.
- Minor cleanup around capabilities and PACS registration flow.
- Add board config for nrf5340 audio,

Signed-off-by: Rasmus Moeller <rslm@demant.com>
2026-03-03 11:11:58 +01:00
Robert Perkel
e4cb24ccdd samples: sensor: mtch9010
Added reference to app note

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2026-03-02 15:59:56 -08:00
Khoa Tran
dc1d5dba0b samples: drivers: uart: Add support samples for SAU UART driver
Add devicetree .overlay to support sample apps for Renesas RA
SAU UART drivers:
- samples/drivers/uart/passthrough

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2026-03-02 10:48:45 +01:00
Hieu Nguyen
183a2eca3c samples: drivers: counter: Add support for RZ devices
Add sample support for Counter driver of:
- RZ/T2L-RSK
- RZ/G2L-SMARC, RZ/G2LC-SMARC, RZ/G2UL-SMARC
- RZ/V2N-EVK, RZ/V2H-EVK

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-02 10:46:47 +01:00
Nicolas Pitre
05828546db samples: mcumgr: smp_svr: disable heap hardening for ram_load variant
The nrf52840dk ram_load variant is very tight on RAM. The MCUboot
RAM_LOAD padding section rounds the image size up to the next
power-of-2 boundary, so even a small increase in code or rodata
can double the padding and overflow the RAM region.

The sys_heap hardening code pushes the image just over the 128KB
boundary, causing padding to jump from 128KB to 256KB and
overflowing RAM by ~55KB.

Disable heap hardening for this build. Since CONFIG_ASSERT is off,
the previous __ASSERT-gated heap checks were inactive anyway, so
HARDENING_NONE preserves the same level of validation.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2026-02-27 21:02:45 +00:00
Nicolas Pitre
81ac81a6d6 lib: heap: rework chunksz_to_bytes into chunk_usable_bytes
Replace chunksz_to_bytes() which took a chunk size with
chunk_usable_bytes() which takes a chunk_id directly. This eliminates
the redundant pattern of chunksz_to_bytes(h, chunk_size(h, c)) and makes
the API clearer by returning actual usable bytes (excluding the header).

Add mem_align_gap() helper to compute alignment padding between the
start of usable chunk memory and the actual memory pointer, using
efficient bit masking. This simplifies sys_heap_usable_size() and
inplace_realloc(). Use these helpers to make runtime stats reporting
reflect actual usable chunk memory (excluding chunk headers), and heap
listener notifications also account for alignment gaps.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2026-02-27 21:02:45 +00:00
Alberto Escolar Piedras
f7a9464e80 samples subsys mgmt/updatehub: Do not enable POSIX_API
This sample does not use or need this component.
Let's not enable it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-02-27 13:56:24 +01:00
Alberto Escolar Piedras
b1cc5de32f samples: boards: nxp: Fix net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-02-27 13:56:24 +01:00
Alberto Escolar Piedras
5ba392e96e samples: modem: hello_hl78xx: Fix net API use
In f26880b213 the mayority
of the POSIX API and old networking API naming dependencies were
removed, but some remain.
Let's clean them up so this code builds without enabling
CONFIG_NET_NAMESPACE_COMPAT_MODE.
And let's disable this backwards compatibility option to ensure
use of these does not leak back.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-02-27 13:56:08 +01:00
Zhaoxiang Jin
bb833c6331 samples: drivers: Enabled hwspinlock sample
1. Enabled hwspinlock sample, This sample demonstrate
cross-core synchronization using the HWSPINLOCK API
together with the MBOX API.

2. enabled hwspinlock sample for NXP frdm_mcxn947 and
mcx_n9xx_evk platform.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-02-27 11:51:20 +01:00
Sebastian Głąb
8b5b7e6bc8 samples: drivers: jesd216: Run sample on nrf54lm20b
Add overlay that defines DTS nodes required to run
the jesd216 sample on nrf54lm20b target.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-02-27 11:49:56 +01:00
Fengming Ye
a45507d87e drivers: wifi: nxp: add SD zero copy support
Add SDHC zero copy support for wifi.
This depends on SDHC host requirement
1. CONFIG_SDHC_SUPPORTS_SCATTER_GATHER_TRANSFER=y.
2. CONFIG_NET_BUF_DATA_SIZE to be 256 multiples.
3. CONFIG_NET_BUF_ALIGNMENT=32 (host cache line size).
4. CONFIG_NET_L2_ETHERNET_RESERVE_HEADER=y (to 4 bytes align net buffer).

Signed-off-by: Fengming Ye <frank.ye@nxp.com>
2026-02-26 08:43:11 -06:00
Dominik Tacke
73a6279146 docs: tcp net logger backend
Extended docu to include tcp syslog server option.
Verified on STM32U5 chip to a Grafana Alloy telemetry
collector,

Signed-off-by: Dominik Tacke <dominik.tacke@siemens.com>
2026-02-26 12:34:52 +01:00
Sunil Hegde
7367513d91 samples: drivers: rtc: remove CONFIG_RTC_ALARM from .conf files
Existing sample code does not use alarm APIs but the board config
files enable CONFIG_RTC_ALARM. Removing the options to be consistent.

Signed-off-by: Sunil Hegde <s-hegde3@ti.com>
2026-02-26 10:36:09 +01:00