Commit Graph

4023 Commits

Author SHA1 Message Date
Khoa Nguyen
35d94de056 tests: drivers: adc: add support adc test app for ek_ra4m1
Add support adc_accuracy_test and adc_api test app
for ek_ra4m1 board

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-02-13 09:11:33 +01:00
Khoa Nguyen
ddcd752e67 tests: drivers: pwm: Add support pwm_loopback for ek_ra4m1
Add support pwm_loopback to run test app on ek_ra4m1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-02-13 09:11:33 +01:00
Tom Hughes
782152f404 tests: i2c_emul: Remove unused variable
Building with clang warns:

tests/drivers/i2c/i2c_emul/src/test_forwarding_buf.cpp:20:32: error:
unused variable 'targets' [-Werror,-Wunused-const-variable]
constexpr const struct device *targets[FORWARD_COUNT] = {
                               ^

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2025-02-13 03:27:24 +01:00
Tom Hughes
bae8e34a38 tests: i2c_emul: Remove unused variable
Building with clang warns:

tests/drivers/i2c/i2c_emul/src/test_forwarding_pio.cpp:19:32: error:
unused variable 'targets' [-Werror,-Wunused-const-variable]
constexpr const struct device *targets[FORWARD_COUNT] = {
                               ^

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2025-02-13 03:27:13 +01:00
Sachin D Kulkarni
522387ec17 drivers: nrf_wifi: Add missing test cases
Add test cases for SoftAP and P2P modes.

Signed-off-by: Sachin D Kulkarni <Sachin.Kulkarni@nordicsemi.no>
2025-02-12 20:18:47 +01:00
Aksel Skauge Mellbye
da36bfcfa9 tests: drivers: uart: Add overlay for xg24_rb4187c
Add test configuration for xg24_rb4187c in uart_async_api test.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-02-12 20:17:36 +01:00
Neil Chen
cb772b0f60 board: nxp: frdm_mcxa156: add config CONFIG_LPADC_DO_OFFSET_CALIBRATION
Update config CONFIG_LPADC_DO_OFFSET_CALIBRATION in soc level.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-02-12 09:49:17 +01:00
Andriy Gelman
7fb23580c2 tests: dma: chan_blen_transfer: Add xmc47/45_relax_kit overlays
Adds overlays for xmc47_relax_kit and xmc45_relax_kit boards.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2025-02-12 02:26:20 +01:00
Andriy Gelman
c68004c919 tests: dma: scatter_gather: Add xmc45/47_relax_kit overlay
Also add 0x prefix to print statement in test.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2025-02-12 02:26:20 +01:00
Andriy Gelman
aea1ff9e2f tests: drivers: dma: Add cyclic transfer test
Adds a test with the cyclic transfer bit set in the dma configuration.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2025-02-12 02:26:20 +01:00
Jiafei Pan
8a9763a895 boards: imx8mn_evk_a53: add i2c gpio expander support
Added gpio expander pca6416 support on the board, it use i2c bus to
expand IO ports.

Added GPIO test case overlay for the board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-12 02:26:08 +01:00
Jiafei Pan
2c2430cb49 boards: imx8mm_evk_a53: add i2c gpio expander support
Added gpio expander pca6416 support on the board, it use i2c bus to
expand IO ports.

Added GPIO test case overlay for the board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-12 02:26:08 +01:00
Emilio Benavente
65225962c8 tests: drivers: Add FRDM_MCXW72 Overlays
Add FRDM_MCXW72 Overlay for PWM, ADC, SPI testing

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-02-11 22:13:18 +01:00
Jérôme Pouiller
0d0e7800bb tests: drivers: flash: Enable board siwx917_rb4338a
Ensure nobdy break compatibility with SiWx91x chipsets.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
5b67a2c497 tests: drivers: dma: Enable board siwx917_rb4338a
Ensure nobdy break compatibility with SiWx91x chipsets.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
8575bc00bc tests: drivers: gpio: Enable board siwx917_rb4338a
Ensure nobody break compatibility with SiWx91x chipsets.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Lucien Zhao
19f56facd4 tests: drivers: pwm: add mimxrt700_evk cm33 cpu0 support
add overlay file to record the flexio configuration

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-02-11 15:42:48 +01:00
Khoa Nguyen
c18b0625d5 tests: drivers: dac: Add support to test DAC on RA devices
Add support ek_ra8m1, ek_ra8d1, mck_ra8t1, ek_ra6m5,
ek_ra6m4, ek_ra6m3, ek_ra6m2, ek_ra6m1, ek_ra6e2,
fpb_ra6e2, fpb_ra6e1, ek_ra4m3, ek_ra4m2, ek_ra4e2,
ek_ra2a1 to test:
- zephyr/tests/drivers/dac/dac_api
- zephyr/tests/drivers/dac/dac_loopback (except ek_ra2a1)

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-02-11 11:44:40 +00:00
Guillaume Gautier
a46315fe9a tests: drivers: dma: loop_transfer: add stm32n6 boards overlays
Add DMA loop transfer test overlays for Nucleo N657x0-Q and STM32N6570 DK
boards.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-02-11 03:07:12 +01:00
Tahsin Mutlugun
1f625c94fd tests: drivers: gpio: gpio_basic_api: Change pins for MAX32690EVKIT
Current test gpios conflict with I2C SCL and SDA lines. In order to run
both I2C and GPIO test on hardware, change pins used used in
gpio_basic_api test.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-02-10 22:26:47 +01:00
Bjarki Arge Andreasen
769936165d tests: drivers: i2c: target_api: add nrf54l15 to test suite
Add nrf54l15 cpuapp to test suite.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-02-10 14:32:52 +01:00
Bjarki Arge Andreasen
37c3efc13b tests: drivers: i2c: target_api: add nrf54h20
Add nrf54h20 to test suite.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-02-10 14:32:52 +01:00
Aurelie Fontaine
2c84ee167b tests: drivers: sensor: update naming
Rename ICM42670 define to ICM42X70 to be aligned with updated driver
to support icm42370-p

Signed-off-by: Aurelie Fontaine <aurelie.fontaine@tdk.com>
2025-02-08 00:31:43 +01:00
Jiafei Pan
a7b469c91f boards: imx8mp_evk: add gpio expander pca6416 support
Added device tree nodes in imx8mp_evk_mimx8ml8_a53.dts, and also
added board overlay in gpio_basic_api test case.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-02-08 00:31:28 +01:00
Khoa Nguyen
786cd7fdd8 tests: drivers: adc: Correct the reference-mv in Kconfig
Correct reference-mv in Kconfig of adc_accuracy_test

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-02-07 14:46:00 +01:00
Khaoula Bidani
95179b24c7 tests : clock_control: clean "STM32_SRC_SYSCLK"
clean up usage of usage "#ifdef STM32_SRC_SYSCLK"
and code under the "#else" from
test_stm32_clock_configuration_adc.c.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-02-07 10:25:52 +01:00
Gerson Fernando Budke
0c4f1987c6 tests: watchdog: Add missing wdt_disable in API test
The current watchdog tests assume that watchdog can be configured once
it is running. This is a concept that do not work in practice becasue
most of watchdog once configured will be locked. The tests should take
that in consideration before enable another test. The other important
details is that even when a watchdog is running it should be disable in
some controllers to allow reconfigure.

This change was tested with SAM4L watchdog controller #83475 which
allows reconfigure the watchdog once it is enabled. To do the correct
configuration it is necessary execute the wdt_disable() call.

The change will validate if the watchdog can be disabled for those
cases were the controller is not locked and fallback the test on the
contrary.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-02-07 07:38:26 +01:00
Remi Buisson
ad4ed55cba dts: bindings: sensor: Add invensense icp101xx properties
Replace icp10125.
tests: sensor: rename icp10125 to icp101xx

Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
2025-02-07 07:38:06 +01:00
Gerson Fernando Budke
f2fa8f965e drivers: rtc: sam0: Add realtime clock driver
Add Atmel sam0 rtc calendar driver.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-02-07 07:37:56 +01:00
Dawid Niedzwiecki
3d372c048a drivers: flash: stm32h7: add support for blocking registers
Add support for blocking flash control registers and option bytes for
STM32H7 chips.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2025-02-06 14:45:06 +01:00
Dawid Niedzwiecki
def973f5b9 drivers: flash: stm32h7: add support for write protection
Add support for setting flash write protection per sector for STM32H7x
chips.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2025-02-06 14:45:06 +01:00
Ibe Van de Veire
2880f453ba test: drivers: dac: Add support for SAM4S soc
Add support for sam4s_xplained board in dac_api test.

Signed-off-by: Ibe Van de Veire <ibe.vandeveire@basalte.be>
2025-02-06 10:43:17 +01:00
Fabrice DJIATSA
edb55baf03 tests: drivers: spi: spi_loopback: update spi_loopback test
- add nucleo_c071rb overlay file to setup spi and dma nodes

- Add the nucleo_c071rb configuration file to reduce the size of
SPI_LARGE_BUFFER_SIZE to avoid RAM overflow and be able
to run the test.

- update testcase.yaml for CI integration

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-02-06 10:41:45 +01:00
Fabrice DJIATSA
c6914519fc tests: drivers: uart: uart_async_api: update uart_async_api test
add nucleo_c071rb overlay file for test bench purpose.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-02-06 10:41:45 +01:00
Fabrice DJIATSA
8ebd12aa5b tests: drivers: i2c: i2c_target_api: update i2c_target_api test
- add overlays and kconfig files for nucleo_c071rb board.
- update testcase.yaml for CI integration.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-02-06 10:41:45 +01:00
Fabrice DJIATSA
e9939aa02d tests: drivers: dma: chan_blen_transfer: update dma test
add nucleo_c071rb.overlay and nucleo_c071rb.conf files
for test bench purpose.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-02-06 10:41:45 +01:00
Fabrice DJIATSA
9ac0cd5157 tests: drivers: counter: counter_basic_api: update counter test
add the nucleo_C071rb overlay file and enable different types of timers
that support counters.


Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-02-06 10:41:45 +01:00
Fabrice DJIATSA
a1bd7cf7b0 tests: drivers: adc: adc_api: update adc_api test
- add nucleo_c071rb overlay file to setup adc node

- The C0 serie has two HSI clock sources, HSI48 and HSI48USB.
To make it simpler and compatible with the existing clock driver,
HSI48 is renamed to HSI (node already present in the stm32c0.dtsi).
HSI48USB will correspond to HSI48.
With SYNC mode, we have an overrun on the ADC, so we configure it
in ASYNC mode.

- Update STM32 HSI macro according to changes

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-02-06 10:41:45 +01:00
Wajdi ELMuhtadi
03b075d35a drivers: sensor: wsen_pads_2511020213301: add sensor driver
Add wsen_pads_2511020213301 driver with
the corrected name and compatibility with
the hal update as well as added new features.

Signed-off-by: Wajdi ELMuhtadi <wajdi.elmuhtadi@we-online.com>
2025-02-06 07:45:13 +01:00
Bjarki Arge Andreasen
3cacb4d404 tests: drivers: build_all: eeprom: increase requirenments
The test case drivers.eeprom.emul.build requires around 48-58kB of
RAM and 95-119kB of ROM/flash, increase and add these requirenments
to the test case. Similarly add min flash requirenment to
drivers.eeprom.build

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-02-05 21:02:33 +01:00
Bjarki Arge Andreasen
b1b9212116 tests: drivers: stepper: limit test platforms
The stepper driver test cases only specify integration
platforms, which whitelists every other board in tree
for full CI runs. This is not intended as some platforms
are too small to run the test cases.

Whitelist target platforms using platform_allow instead.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-02-05 21:02:33 +01:00
Hake Huang
810aba8d9b tests: disk_performance : mimxrt1060_evkc support
add support for mimxrt1060_evkc board

fixes: #84417

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-02-05 17:50:18 +01:00
Hieu Nguyen
a93a30239b tests: drivers: pwm: Add support for RZ/G3S-SMARC
Enable PWM driver tests for RZ/G3S

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Binh Nguyen <binh.nguyen.xw@renesas.com>
2025-02-05 17:49:00 +01:00
Martin Hoff
e783f69ebf test: driver: uart: add silabs slwrb4180a overlay for async usart test
Add overlay for slwrb4180a board to test async silabs usart driver with
dma.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-02-05 15:02:35 +01:00
Jilay Pandya
8272b36b5b drivers: stepper: tmc50xx: extend tmc5041 to tmc50xx
Extend tmc5041 to tmc50xx in order to accomodate tmc5072

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-02-05 01:14:47 +01:00
Måns Ansgariusson
c01ba39070 tests: rtc_api: Disable update callback after test completion
The update callback remains enabled after the test finishes, leaving the
RTC in a modified state. This change ensures the callback is properly
disabled, restoring the RTC to its original condition.

Signed-off-by: Måns Ansgariusson <Mansgariusson@gmail.com>
2025-02-05 01:12:41 +01:00
Måns Ansgariusson
535814a731 tests: rtc: add epson rx8130ce to rtc build test
Include the Epson RX8130CE RTC driver in the RTC build tests to ensure it
compiles correctly and remains free of build regressions.

Signed-off-by: Måns Ansgariusson <Mansgariusson@gmail.com>
2025-02-05 01:12:41 +01:00
Fabio Baltieri
3a66b3853e drivers,test: use the new DT_FOREACH_PROP_ELEM_SEP
Use the new DT_FOREACH_PROP_ELEM_SEP macro instead of
DEVICE_DT_GET(DT_PHANDLE_BY_IDX(...)).

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-02-04 09:18:55 +01:00
Emilio Benavente
1bb6e58976 tests: drivers: Add MCXW72 Overlays
Add MCXW72 Overlay for PWM, ADC, SPI testing

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>

enabled support
2025-02-04 09:17:04 +01:00
Hieu Nguyen
2e76631bae tests: drivers: counter: Add support for RZ/G3S-SMARC
Add test support for Counter driver of RZ/G3S-SMARC

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-02-04 09:16:34 +01:00