Commit graph

12,113 commits

Author SHA1 Message Date
Robert Robinson
5101fe2832 samples: boards: nordic: nrf_sys_event: Add support for nRF7120
After porting nRF7120 to Zephyr, all samples that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-18 14:42:51 +00:00
Robert Robinson
8a7282182b samples: basic: minimal: Add support for nRF7120
After porting nRF7120 to Zephyr, all samples that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-18 14:42:51 +00:00
Zafer SEN
85f4a38d2b samples: net: lwm2m_client: add NTN config overlay for HL78xx EVK
Introduce overlay-swir_hl78xx_ev_kit_ntn.conf to enable testing and
evaluation of NB-NTN operation with the HL78xx modem. The overlay
configures RAT selection for NB-NTN, increases DNS/TLS/CONNECT timeouts
for high RTT satellite links, and adjusts CoAP and LwM2M timing to
improve reliability under NTN latency conditions.

Also includes optional manual UE position parameters and aligns sample
behavior with expected NTN network characteristics.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-02-17 13:19:52 -06:00
Zafer SEN
5c8d9c2ab3 samples: net: lwm2m_client: enable PSA CCM to fix DTLS handshake failure
Enable CONFIG_PSA_WANT_ALG_CCM in the DTLS overlay to resolve TLS
handshake failures seen with the default LwM2M sample. Without CCM
support enabled, mbedTLS cannot negotiate AES-CCM-based PSK ciphers,
resulting in handshake errors such as:

  net_sock_tls: TLS handshake error: -0x7780
  net_lwm2m_engine: Cannot connect UDP (-113)

Adding PSA CCM support restores compatibility with the server's DTLS
requirements and allows the sample to connect successfully.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-02-17 13:19:52 -06:00
Fabrice DJIATSA
a28f4fb3a5 samples: drivers: memc: use log function instead of printk
Changed printk() to LOG_INF() to reduce execution time.
This optimization is necessary when using large buffers, such
as on the STM32H7S_DK with 32 MB of PSRAM. Otherwise, in CI,
the test will fail due to a timeout (60s) occurring before the
test completes its execution and misses printing the required
regex word for the test to be successful.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-02-16 21:22:16 +00:00
Johan Hedberg
898679e896 Bluetooth: samples: Add missing CONFIG_POLL dependency
A bunch of samples were relying on the Bluetooth host to select POLL,
however since the sample code itself uses k_poll the right thing to do is
to have the samples explicitly enable this feature.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-02-16 09:03:09 -06:00
Dharun krithik k
5cd371dcab samples: bme280: add overlay for cy8cproto_041tp
Add board overlay for Infineon CY8CPROTO-041TP to support the
BME280 sensor sample. The configuration enables SPI1 and connects
the BME280 sensor with Chip Select on P4.0.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-02-16 00:13:04 +00:00
Valerio Setti
7ea4458a7d samples: net: wifi: shell: remove legacy Mbed TLS crypto
Remove usage of legacy Mbed TLS crypto APIs from sample overlays.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-02-13 18:57:48 +00:00
Jose Alberto Meza
5fac2ee32e samples: drivers: espi: Fix reference to SPI driver for TAF sample code
spi0 node removed in recently Microchip driver update
Update sample code to fix build error.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-02-13 10:06:28 +01:00
Alberto Escolar Piedras
23e8525bdf samples: drivers: biometrics: Add missing overlay
The sample is set to be built and run both for native_sim and
native_sim//64, but lacks an overlay for the 64 bit variant, and
fails at runtime. Let's add an overlay for it which just refers to
the 32bit variant.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-02-12 14:33:13 +00:00
Jamie McCrae
7163e60a5d samples: mgmt: mcumgr: smp_svr: Fix missing ranges
Fixes the dts files to properly use addresses

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-12 14:29:31 +00:00
Farsin Nasar V A
61090797b3 samples: adc: Add pic32cx_sg overlay files for adc_sequence
Add a devicetree overlay to run the adc_sequence sample on
pic32cx_sg.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-02-12 14:29:09 +00:00
Michał Stasiak
96cfd30e0a tests: drivers: watchdog: add nRF54LM20B support
Added overlays for nRF54LM20B SoC.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-02-12 14:26:44 +00:00
Dominik Ermel
919a4f1601 kvss: Move NVS and ZMS headers under kvss subdir
Move them out of fs to kvss.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2026-02-12 10:55:27 +01:00
Dominik Ermel
b9fcb5efa4 kvss: Create Key-Value Storage subsystem
Add new subsystem and move NVS and ZMS under that subsystem.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2026-02-12 10:55:27 +01:00
Henrik Brix Andersen
9b5b529969 samples: canopennode: enable CONFIG_FLASH_MAP
Enable CONFIG_FLASH_MAP as this is required by CONFIG_SETTINGS_NVS.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-02-12 09:32:43 +01:00
Pieter De Gendt
81e312dd7e samples: shell: Demo readline command
Add a readline command that waits for user input and echo dumps the
captured data.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-11 17:47:50 -06:00
Mathieu Choplain
22d197d2bd samples: sensor: lsm6dsl: add reference to board using zephyr:board
Board `disco_l475_iot1` is mentioned by the sample's README in plain text;
replace with the zephyr:board role which looks prettier and links to the
actual board's documentation.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-11 15:01:22 -06:00
Mathieu Choplain
c3375f77be boards: phytec: use zephyr:board-supported-hw
Replace legacy hand-mantained tables with the new directive that generates
a table automatically based on platform device tree. While at it, in some
boards, the existing "markers" have been replaced with the zephyr:board
role as it is required for proper operation of zephyr:board-supported-hw.
Some documentation pages which contained a reference to the marker are also
updated to use zephyr:board instead.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-11 15:01:22 -06:00
Mathieu Choplain
93b25d101c boards: nordic: use zephyr:board-supported-hw
Replace legacy hand-mantained tables with the new directive that generates
a table automatically based on platform device tree. While at it, in some
boards, the existing "markers" have been replaced with the zephyr:board
role as it is required for proper operation of zephyr:board-supported-hw.
Some documentation pages which contained a reference to the marker are also
updated to use zephyr:board instead.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-11 15:01:22 -06:00
Mathieu Choplain
fa93eebaed boards: mikroe: use zephyr:board-supported-hw
Replace legacy hand-mantained tables with the new directive that generates
a table automatically based on platform device tree. While at it, in some
boards, the existing "markers" have been replaced with the zephyr:board
role as it is required for proper operation of zephyr:board-supported-hw.
Some documentation pages which contained a reference to the marker are also
updated to use zephyr:board instead.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-11 15:01:22 -06:00
Mathieu Choplain
3554f27140 boards: 96boards: use zephyr:board-supported-hw
Replace legacy hand-mantained tables with the new directive that generates
a table automatically based on platform device tree. While at it, in some
boards, the existing "markers" have been replaced with the zephyr:board
role as it is required for proper operation of zephyr:board-supported-hw.
Some documentation pages which contained a reference to the marker are also
updated to use zephyr:board instead.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-11 15:01:22 -06:00
Fabrice DJIATSA
ddf61c7fbf samples: drivers: opamp: output_measure: update readme file
The sample does not set or print separate inverting and
non-inverting gains.
Remove the parts related to the description of the two gains.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-02-11 09:22:25 +01:00
Fabrice DJIATSA
913685c5e6 samples: drivers: opamp: fix console harness regex to match actual output
Update the harness to:
- Accept a gain token that is either an integer or a fraction:
(?:\d+|\d+/\d+)
- Match the full printed line including the (@gain: …) token
- Remove the invalid expectations for "Set opamp inverting/
                                                      non-inverting gain"
This aligns CI with the sample’s actual output.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-02-11 09:22:25 +01:00
Benjamin Cabé
1d23b5d877 drivers: i2s: samples: tests: replace non inclusive language
Replace master/slave terminology with controller/target terminology in
I2S sample and tests.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-10 13:24:18 -06:00
Benjamin Cabé
60ca5367a7 drivers: i2s: update macro names to match latest I2S specification
I2S bus specification 3.0 [1] updated terms "Master" and "Slave" to
"Controller" and "Target". This rename macros using these terms and
deprecates old names.

[1] https://www.nxp.com/docs/en/user-manual/UM11732.pdf

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-10 13:24:18 -06:00
Emilio Benavente
72c43541ec boards: nxp: removing cpu0 from mcxw72
Removing cpu0 reference from mcxw72 target
as only cpu0 should be targeted on this device.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-02-10 15:41:57 +00:00
Vinayak Kariappa Chettimada
1c128d59b5 samples: Bluetooth: bap broadcast source nRF54LM20DK USB Audio Device
bap broadcast source nRF54LM20DK with BAP_BROADCAST_48_2_1
USB Audio Device support.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-02-10 13:01:38 +01:00
Vinayak Kariappa Chettimada
1d7566da9d samples: Bluetooth: bap broadcast source nRF5340DK 48_2_1 USB Audio
bap broadcast source nRF5340DK with BAP_BROADCAST_48_2_1
USB Audio Device support.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-02-10 13:01:38 +01:00
Vinayak Kariappa Chettimada
8be2d91a2b samples: Bluetooth: bap broadcast source BAP_BROADCAST_48_2_1
bap broadcast source BAP_BROADCAST_48_2_1 support.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-02-10 13:01:38 +01:00
Vinayak Kariappa Chettimada
aad5167e9b samples: Bluetooth: bap broadcast source nrf21540dk_nrf52840
bap broadcast source nrf21540dk_nrf52840 sample.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-02-10 13:01:38 +01:00
Emil Gydesen
5864564a46 Bluetooth: CCP: Add user_data to bt_ccp_call_control_client_cb
Add a user_data field to bt_ccp_call_control_client_cb. The
field is optional to enable via Kconfig. The field can be used
to provide additional context from the owner of the callback
structure, to the callbacks themselves.

This solves a memory use-after-free issue in the unit tests
where the values from the callback was accessed after they
were released, as the values were just stack allocated.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 10:51:43 +01:00
Sebastian Głąb
69cdf5f36c samples: boards: nordic: nrf_sys_event: Enable Twister on nrf54lm20dk
Add nrf54lm20dk/nrf54lm20a/cpuapp to platform_allow list.
Overlay for this target is already there.

Remove skipping of RRAMC_POWER_MODE on nrf54lm20dk
because PyTest always expects result from this configuration.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-02-10 08:24:29 +01:00
Sebastian Głąb
3bb4b92a53 samples: boards: nordic: nrf_sys_event: Remove unused overlays
Remove overlay for nrf54l15dk/nrf54l15/cpuflpr/xip target as
it is no longer supported.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-02-10 08:24:29 +01:00
Alberto Escolar Piedras
52b88ec762 samples: nxp RT700: Fix twister sample definition
Fixes:
* If a sample is only meant for one platform, we need to use
  platform_allow to filter it to only be built for that platform.
  Using integration_platforms only limits when its built when twister
  is called with --integration (for ex. in PRs CI).
  Remove unnecessary SOC filter after limiting what it is built on.
* Each separate sample.yaml defines a fully separate sample from
  twister's point of view. Sysbuild child images folders should not
  have a separate sample.yaml, but just be built by the parent sample
  sysbuild cmake code.
  (Also, the filters in those images were off, and twister was trying
  to build them for too many platforms).

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-02-09 12:00:23 -06:00
Piotr Kosycarz
49d01a37f7 samples: drivers: uart: async_api: make tags common
This will quarantee all configuration has tags.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-02-09 15:58:30 +01:00
Piotr Kosycarz
57432fa59d samples: drivers: display: use common tag
This will quarantee that all configuration has some tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-02-09 15:58:30 +01:00
Piotr Kosycarz
3bd2f123ac samples: subsys: usb: uvc: fix tags
Use yaml list explict, make tags common.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-02-09 15:58:30 +01:00
Carlo Caione
92e4ffeb00 samples: drivers: lora: add native driver build tests
Add build-only test variants for the native SX126x driver to the lora
send and receive samples. These use CONFIG_LORA_MODULE_BACKEND_NONE
with the semtech_sx1261mb2bas shield on nrf52840dk.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-02-09 13:29:42 +01:00
Ömer Furkan Demircioğlu
e479e6001e samples: boards: st: power_mgmt: blinky: fix typo in comment
Fix spelling in application inline comment.

Signed-off-by: Ömer Furkan Demircioğlu <oflifurkan@gmail.com>
2026-02-06 22:19:08 +01:00
Scott Worley
b493ddd627 samples: Update MEC172x QMSPI hardware node name
We changed the hardware node name of the QMSPI controller
to be consistent on MEC172x with MEC174x/5x, etc. We updated
two samples using the old name.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-02-06 13:46:14 -06:00
Ayush Singh
1b971e48fe boards: beagle: Add BeaglePlay M4 support
Add initial support for the BeaglePlay [0] MCU domain Cortex-M4F core.

0: https://www.beagleboard.org/boards/beagleplay

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-02-06 08:53:07 -06:00
Gaetan Perrot
77349fdd39 samples: drivers: led_strip: remove obsolete reference and update links
The documentation referenced a blog post about RGB LED strips that
is no longer accessible.

Replace the broken link with a valid and relevant resource and add
additional stable references to improve the documentation.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-06 13:59:17 +01:00
Khoa Nguyen
0541a2285e samples: subsys: ipc: Update SRAM size for ek_ra8p1
Since the SRAM size value was updated due to an incorrect value
for RA8P1, the SRAM overlay for EK-RA8P1 also needs to be updated.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-02-06 11:20:55 +01:00
Felix Wang
66ccfd8e00 samples: drivers: led: pwm: add support for mcx_n5xx_evk board
The overlay disables the standard GPIO leds node and enables the
pwmleds node.
Configure blink delays to 2ms (short) and 20ms (long) for
appropriate visual feedback on the PWM-controlled LEDs.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-02-06 11:12:09 +01:00
Siratul Islam
2140f0b181 samples: drivers: biometrics: add fingerprint sample
Adds a sample application demonstrating the Biometrics
subsystem with a fingerprint sensor.

The sample demonstrates:
- Getting sensor capabilities
- Two-stage enrollment process
- Verification (1:1 matching)
- Identification (1:N matching)
- Template management

Signed-off-by: Siratul Islam <email@sirat.me>
2026-02-06 11:10:54 +01:00
Sean Kyer
c273ce7989 cpu_freq: pressure: Introduce pressure policy
Add pressure policy to cpu_freq subsystem. The
pressure policy evaluates system load by accumulating
the priorities of runnable threads to inform P-state
transitions.

As more threads of higher priorities queue as ready
in the scheduluer, the system pressure increases
and the policy may decide to choose a more aggressive
P-state.

Signed-off-by: Sean Kyer <sean.actor@gmail.com>
2026-02-05 10:27:38 +00:00
Sean Kyer
f0967d130f cpu_freq: on_demand: Fix sample naming
Update the name of the on_demand policy sample
to be scoped to the on_demand policy instead
of the cpu_freq subsystem as a whole.

Signed-off-by: Sean Kyer <sean.actor@gmail.com>
2026-02-05 10:27:38 +00:00
Kai Cheng
14158c9d02 Bluetooth: Classic: add COD set/get feature
This commit implements Class of Device (COD) functionality for
Classic Bluetooth, supporting both setting and retrieving COD
from the controller by bt_br_write_cod and bt_br_read_cod.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-02-05 10:26:46 +00:00
Zhaoxiang Jin
ae1cf4ec67 dts: nxp: Reorganize IMX RT DTSI files into imxrt subdirectory
1. Reorganize IMX RT DTSI files into imxrt subdirectory
2. Update boards/imxrt devicetree references to use new paths
3. Update samples/imxrt overlay references to use new paths

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-02-05 07:52:09 +01:00