Commit Graph

4625 Commits

Author SHA1 Message Date
Benjamin Cabé
55592cfc62 tests: drivers: counter: fix esp32s3 overlays
The use of timer3 seems to be some legacy leftover from when the
overlay was specific to esp32s3_devkitm originally (commit cf3b2643).
Using timer0 instead.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-07-29 08:54:05 -04:00
Jordan Yates
bd774ff98b tests: disk: disk_access: test STM32L4 DMA
Ensure that the shared DMA variant of the STM SDMMC driver is compiled
in CI.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-07-28 16:44:33 -04:00
Van Petrosyan
37d8ec295b drivers: led: Added PCA9533 to build_all overlay
PCA9533 is added to the overlay so the new driver
is compiled by the automated “build all LED drivers” test

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
2025-07-28 16:43:48 -04:00
Holt Sun
4618e86edd drivers: irtc: Updated rtc driver to support NXP RT700 device.
1. Update nxp irtc driver to fix issue in init and alarm function.
2. Update RTC device tree binding to support "share-counter".
3. Update RT700 dtsi to support rtc0 for cpu0 and rtc1 for cpu1.
4. Update readme.
5. Update unit test project conf for RT700.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-07-28 16:42:30 -04:00
Declan Snyder
fe8da67342 tests: spi_loopback: Specify expected CS on helper func
The helper function should have the flexibility to have different
expected CS counts. Namely, the test cases where the transfer is
essentially empty should not need to assert CS and many platforms are
failing on CS testing currently due to expecting CS assert and deassert
despite it being a 0 clock/bit transfer being specified.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-07-28 16:42:08 -04:00
Declan Snyder
285245c69a tests: spi_loopback: Use atmoic_t instead of sem for CS
Use an atomic_t instead of semaphore for counting the CS, semaphore is
too heavy and wrong choice for this variable.

Also, print what the actual value gotten was in case of error.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-07-28 16:42:08 -04:00
Daniel Schultz
fecfe5e2d7 boards: ti: am64/am24x: Update AM64x Nodes in MAIN
Update all nodes located in the MAIN domain and add the
main_ prefix. This is required because the am64x_main.dtsi
now has this prefix.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2025-07-28 08:53:55 -04:00
Bartosz Miller
b78be6baba tests: drivers: flash: Add MSPI flash test in single I/O mode
Test external MSPI flash in single I/O mode

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-07-28 08:38:58 -04:00
Matthias Alleman
b90e3a2d8b tests: drivers: build_all: add chsc5x build test
Add test for chsc5x input driver.

Signed-off-by: Matthias Alleman <matthias.alleman@basalte.be>
2025-07-28 08:34:35 -04:00
Luis Ubieda
768099e27c tests: sensor: Add icm42686 node to test
For build-time validation.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-25 23:28:47 +02:00
Luis Ubieda
8db851ff57 general: icm4268x: Refactor ICM42688 driver to ICM4268X
As a first step to enable the similar variants (e.g: ICM42686),
refactor common functionality into icm4268x files. As a result,
applications using the icm42688 will need to have both compatible
properties: "invensense,icm42688" and "invensense,icm4268x" defined.
In-tree boards have been modified to comply with this pattern.

This patch does not contain functional changes. The driver should
work the same as before.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-25 23:28:47 +02:00
Fabio Baltieri
5c7c3980eb tests: drivers: spi: drop non existing board
nrf54l20pdk has been dropped in 878ddbe2f6.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-07-25 18:19:37 +02:00
Michał Stasiak
dd8a8697e2 drivers: spi: nrfx_spi(m/s): enable cross domain pins for nRF54L15
SPI(M/S)20 and SPIM(M/S)21 instances enable usage of pins on different
port, but require request for constant latency mode. Added
handling of such scenario in the driver. Added testcase
to cover it.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-07-25 17:03:11 +01:00
Michał Stasiak
e8dd83b43d drivers: serial: nrfx_uarte: enable cross domain pins for nRF54L15
UARTE20 and UARTE21 instances enable usage of pins on different
port, but require request for constant latency mode. Added
handling of such scenario in the driver. Added testcase
to cover it.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-07-25 17:03:11 +01:00
Alexander Kozhinov
2d4a1196a2 tests: drivers: interrupt_controller: add new test for STM32 EXTI
add exti driver tests for stm32 platform

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-07-25 08:18:48 -04:00
Alexander Kozhinov
6303018b1c tests: drivers: gpio_basic_api: add more boards
add nucleo_h745zi_q_stm32h745xx_m7 overlay
add stm32mp257f_ev1_stm32mp257fxx_m33 overlay

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-07-25 08:18:48 -04:00
Alexander Kozhinov
10dd8fe11d tests: drivers: rtc_api: add overlay for Nucleo-H745ZI-Q
add nucleo_h745zi_q_stm32h745xx_m7 overlay and config
add nucleo_h745zi_q_stm32h745xx_m4 overlay and config

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-07-25 08:18:48 -04:00
Thomas Stranger
8c77e53d87 tests: drivers: counter: counter_basic_api: add nucleo_c092rc overlay
Add a overlay to the counter_basic_api test to enable the counter node
of TIM2, TIM3, and TIM14 to TIM17.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-07-25 08:14:53 -04:00
Thomas Stranger
ca77f31da0 tests: drivers: uart: uart_async_api: add nucleo_c092rc overlay
Add a overlay for the nucleo_c092 testing usart4 and dma
channels 6 and 7. These are all not available in smaller STM32C0 SoCs.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-07-25 08:14:53 -04:00
Thomas Stranger
0b5eaf8ed2 tests: drivers: adc: adc_api: add overlay for nucleo_c092rc
Add an overlay to use adc1 channel 0 (on PA0) for testing.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-07-25 08:14:53 -04:00
Emilio Benavente
cd33821a1a tests: drivers: watchdog: Excluding frdm_mcxw71 from basic api
The wdt_basic_api test uses retained memory. Currently,
uses sram0 for the ram space. This mostly does not retain
memory. Since the test variables are unable to retain
their value this platform test fails and should be excluded
for now.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-07-25 08:11:47 -04:00
Raffael Rostagno
7c30d7a9b9 tests: drivers: spi_loopback: Update DTS settings for DMA
Update DTS settings to add DMA configuration to devices which
support GDMA peripheral, in order to perform operations via DMA
driver instead of HAL functions.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-07-24 16:58:48 +01:00
Grzegorz Swiderski
b4c18e8999 boards: nrf54h20dk: Merge iron variants into the base variants
This replaces the legacy SDFW compatible board configuration with the
IronSide SE compatible one, thus removing support for running samples
and tests on nRF54H20 devices with the old firmware.

All applications are expected to work on `nrf54h20dk/nrf54h20/cpuapp`
out of the box. For other board targets, all applications are expected
to boot, but may require additional peripheral configuration in UICR.
Build system support for the new UICR format is to be added separately.

Co-authored-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-07-24 16:57:45 +01:00
Sebastian Głąb
b3949e3526 tests: drivers: adc: Fix License in board overlay
Board overlay was moved from downstream to upstream.
By mistake, License was left unchanged.

Change License type to match with the upstream.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-24 06:04:46 -04:00
Sebastian Głąb
8e881b046e tests: drivers: clock_control: nrf_lf_clock_start: Run on nrf54lm20dk
Fix mistake where one of test configurations
was skipped on nrf54lm20dk board.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-24 02:44:23 -04:00
Biwen Li
47b07e5a09 tests: drivers: pwm: add overlay file for imx943_evk m33
Add overlay file for imx943_evk m33 to use flexio as pwm

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-07-23 09:40:15 +02:00
The Nguyen
9a9f060430 samples: display: update rtk7eka6m3b00001bu shield related samples
The rtk7eka6m3b00001bu need addtional ek_ra8d1_rtk7eka6m3b00001bu shield
to build with ek_ra8d1/r7fa8d1bhecbd platform. This commit to update
extra args to select it when build with twister

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-07-22 19:38:02 -04:00
Hake Huang
f5c2ef8836 tests wdt: add WDT_OPT_PAUSE_IN_SLEEP test
add WDT_OPT_PAUSE_IN_SLEEP testing for long period
this need enable PM

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-07-22 19:37:31 -04:00
Sabrina Simkhovich
b591d141a2 drivers: sensor: mb7040: add support for MB7040 ultrasonic sensor
This commit adds a new driver for the MaxBotix MB7040 ultrasonic
rangefinder. The driver uses I2C communication to read range data
from the sensor and exposes it via the Zephyr sensor API.

Tested on an esp32-s3 board using I2C bus. Verified readings at multiple
distances to confirm accuracy.

Signed-off-by: Sabrina Simkhovich <sabrinasimkhovich@gmail.com>
2025-07-22 19:37:18 -04:00
Ruiqian Tang
53374c6257 boards: seeed: support XIAO nRF54L15
This is a new board of the XIAO series based on nRF54L15.

Signed-off-by: Ruiqian Tang <ruiqian.tang@seeed.cc>
2025-07-22 14:18:43 +02:00
Sebastian Głąb
a918256659 tests: drivers: watchodg: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
f0c143eace tests: drivers: uart: uart_pm: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
8791fcf34d tests: drivers: uart: uart_mix_fifo_poll: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
d05c971350 tests: drivers: uart: uart_errors: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
207c662e11 tests: drivers: uart: uart_elementary: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Reorganize testcase.yaml to make it easier to maintain.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
e5a9c35a99 tests: drivers: uart: uart_async_api: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Add test on fast instance uart00 on nrf54lm20dk.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
afd90f42a2 tests: drivers: timer: nrf_grtc_timer: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
31e8326e61 tests: drivers: spi: spi_loopback: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Run test with 16MHz/32MHz bitrate using spi00 instance
(spi2x instances support up to 16MHz/2).

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
467fac1574 tests: drivers: spi: spi_error_cases: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
49734bfd03 tests: drivers: spi: spi_controller_peripheral: Disable on nRF54L20pdk
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
a32ca2b360 tests: drivers: sensor: temp_sensor: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
cb3a94acc1 tests: drivers: retianed_mem: api: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
25b90acc70 tests: drivers: pwm: pwm_gpio_loopback: Enable test on nrf54lm20dk
Add overlay required to run the test on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
796adb60ca tests: drivers: i2s: i2s_speed: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
98443a87f9 tests: drivers: i2s: i2s_api: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
a850089d6b tests: drivers: i2s: i2s_additional: Enable test on nrf54lm20dk
Add overlay required to run the test on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
9a8988d292 tests: drivers: i2c: i2c_target_api: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
942e2a8195 tests: drivers: gpio: gpio_basic_api: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
dd932f2256 tests: drivers: flash: negative_tests: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
6d03831708 tests: drivers: flash: common: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Enable external memory node.

Use separate test configuration as external memory works
only on nRF54LM20 DKs with `external_flash` fixture.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00