Commit Graph

3505 Commits

Author SHA1 Message Date
TOKITA Hiroshi
2815b6d710 tests: drivers: build_all: gpio: Add ti,lmp90xxx-gpio configuration
Add the following devices to build tests.

- ti,lmp90xxx-gpio

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-30 09:04:58 +02:00
TOKITA Hiroshi
0ea5ef8699 tests: build_all: gpio: Excluding app.overlay from ads1145s0x tests
- Exclude `app.overlay` from DTC_OVERLAY_FILES in
  `drivers.gpio.build.adc_ads1145s0x_gpio` tests to avoid duplicate builds.
- Modified so that adc_ads1145s0x_gpio.overlay can be tested alone.
- Delete the conffile and move its contents to extra_configs.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-30 09:04:58 +02:00
TOKITA Hiroshi
8d68f6a45b tests: drivers: build_all: gpio: Correct mcp230xx compatibility
The "microchip,mcp230xx" is not defined.
Correcting it to "microchip,mcp23017".

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-30 09:04:58 +02:00
TOKITA Hiroshi
bcec0a29ef tests: drivers: build_all: gpio: Add modules that were not registered
Add the following devices to build tests.

- richtek,rt1718s
- st,stmpe1600
- adi,adp5585
- nordic,npm6001
- cypress,cy8c95xx-gpio
- ti,sn74hc595

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-30 09:04:58 +02:00
TOKITA Hiroshi
2c1274f6a9 tests: drivers: build_all: Add power_domain drivers test
Add build_all test for power_domain drivers.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-29 21:22:34 +02:00
Declan Snyder
4012161efb boards: frdm_mcxw71: Enable LPTMR
Enable LPTMR as counter, enable lptmr0 in board DTS and enable lptmr1 in
basic counter api test.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-09-29 21:21:34 +02:00
TOKITA Hiroshi
61c5346095 tests: drivers: build_all: sensor: Add non-typical TRIGGER settings
The following devices enable TRIGGER in a way that is different from the
template definition, so add these settings to sensos_no_default.conf.

- bosch,bmc150
- bosch,bmm150
- bosch,bmp150
- ti,ina230
- we,wsen-itds
- lm77
- st,lsm9ds0-gyro
- ti,tmag5170

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-28 11:29:03 -05:00
Fabrice DJIATSA
31d24eb186 tests: drivers: adc: adc_api: update adc_api test
-add nucleo_u083rc and stm32u083c_dk overlays files
for testbench purpose.
- add platform_exclude property to skip test on boards
with little ram size.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>

tests: drivers: adc: adc_api: update adc_api test
2024-09-27 10:55:56 +01:00
TOKITA Hiroshi
6e5f1f19c9 tests: drivers: build_all: adc: Adding configuration for ti,tla2021
Add configuration for ti,tla2021 to enable build test.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-26 17:43:52 -04:00
TOKITA Hiroshi
20ff7ddff9 tests: drivers: build_all: pwm: Add i2c-devices build test
Add build tests for following devices.

- maxim,max31790-pwm
- nxp,pca9685-pwm

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-26 17:43:24 -04:00
Bartosz Miller
e26b9750ae tests: drivers: Add PPR support in NRF GRTC timer test
Test did not support PPR core due to failing GRTC channel allocation.
This change fixes the channel allocation and enables PPR core test.

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2024-09-26 13:29:45 -05:00
Katarzyna Giądła
436d1bf628 samples: tests: Add support to tests on nrf54l15 DK
Align all existing samples/tests/applications which
contains nrf54l15pdk/nrf54l15/* by adding
nrf54l15dk/nrf54l15/* to enable twister builds.

Signed-off-by: Katarzyna Giądła <katarzyna.giadla@nordicsemi.no>
Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2024-09-26 03:31:20 -04:00
Laurentiu Mihalcea
50720f835b Revert "tests: drivers: i3c: add build of i3c_shell.c"
This reverts commit ffb60c08e9.

Fixes #78990.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-09-25 09:10:23 -05:00
Abderrahmane Jarmouni
3a9215a54e tests: drivers: dma: loop_transfer: add stm32h750b_dk config
Run test on stm32h750b_dk board

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-09-25 12:58:36 +02:00
Alberto Escolar Piedras
2db8f09a19 tests/drivers/smbus: Don't test on native_posix
native_posix is now deprecated.
Building these tests in both native_sim and native_posix does not
improve coverage for the tests or subsystem but doubles CI time.
As anyhow native_posix will be removed all together in
2 releases, let's remove it already for these.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-25 04:04:36 -04:00
Alberto Escolar Piedras
7e615d05ef tests/drivers/regulator: Don't test on native_posix
native_posix is now deprecated.
Building these tests in both native_sim and native_posix does not
improve coverage for the tests or subsystem but doubles CI time.
As anyhow native_posix will be removed all together in
2 releases, let's remove it already for these.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-25 04:04:36 -04:00
Alberto Escolar Piedras
6a1da30771 tests/drivers/pinctrl: Don't test on native_posix
native_posix is now deprecated.
Building these tests in both native_sim and native_posix does not
improve coverage for the tests or subsystem but doubles CI time.
As anyhow native_posix will be removed all together in
2 releases, let's remove it already for these.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-25 04:04:36 -04:00
Alberto Escolar Piedras
bd8d8db0f5 tests/drivers/gnss: Don't test on native_posix
native_posix is now deprecated.
Building these tests in both native_sim and native_posix does not
improve coverage for the tests or subsystem but doubles CI time.
As anyhow native_posix will be removed all together in
2 releases, let's remove it already for these.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-25 04:04:36 -04:00
Alberto Escolar Piedras
614d40a890 tests/drivers/fuel_gauge: Don't test on native_posix
native_posix is now deprecated.
Building these tests in both native_sim and native_posix does not
improve coverage for the tests or subsystem but doubles CI time.
As anyhow native_posix will be removed all together in
2 releases, let's remove it already for these.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-25 04:04:36 -04:00
Alberto Escolar Piedras
28ae294f5c tests/drivers/eeprom/api: Don't test on native_posix
native_posix is now deprecated.
Building these tests in both native_sim and native_posix does not
improve coverage for the tests or subsystem but doubles CI time.
As anyhow native_posix will be removed all together in
2 releases, let's remove it already for these.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-25 04:04:36 -04:00
Alberto Escolar Piedras
081c3638e1 tests/drivers/build_all: Don't test on native_posix
native_posix is now deprecated.
Building these tests in both native_sim and native_posix does not
improve coverage for the tests or subsystem but doubles CI time.
As anyhow native_posix will be removed all together in
2 releases, let's remove it already for these.

Note: Some drivers tests for which there is native specific driver
which will or may be built differently in native_sim and native_posix
have been left enabled for native_posix

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-25 04:04:36 -04:00
Alberto Escolar Piedras
98ac30d1c5 tests/drivers/adc/adc_emul: Don't test on native_posix
native_posix is now deprecated.
Building these tests in both native_sim and native_posix does not
improve coverage for the tests or subsystem but doubles CI time.
As anyhow native_posix will be removed all together in
2 releases, let's remove it already for these.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-25 04:04:36 -04:00
Ryan McClelland
ffb60c08e9 tests: drivers: i3c: add build of i3c_shell.c
Include the i3c shell when building an i3c driver.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2024-09-25 04:04:13 -04:00
Lauren Murphy
e0bd9aef66 drivers: sensor: add mmc56x3 sensor driver
Adds Memsic MMC56X3 magnetometer and temperature
sensor driver.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2024-09-24 10:09:25 +02:00
Furkan Akkiz
679547495b tests: drivers: pwm: Add MAX32662EVKIT overlay file
Enable PWM test for MAX32662EVKIT.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2024-09-23 18:12:00 -04:00
Mert Ekren
ee2a48e310 tests: drivers: pwm: Add MAX32675EVKIT overlay file
Enable PWM test for MAX32675EVKIT.

Signed-off-by: Mert Ekren <mert.ekren@analog.com>
2024-09-23 18:12:00 -04:00
Furkan Akkiz
e3bb2f1098 tests: drivers: pwm: Add MAX32672 boards overlay file
Enable PWM test for MAX32672 boards.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2024-09-23 18:12:00 -04:00
Mert Ekren
3b75e9e042 tests: drivers: pwm: Add MAX32670EVKIT overlay file
Enable PWM test for MAX32670EVKIT.

Signed-off-by: Mert Ekren <mert.ekren@analog.com>
2024-09-23 18:12:00 -04:00
Furkan Akkiz
886319d3f2 tests: drivers: pwm: Add MAX32690EVKIT overlay file
Enable PWM test for MAX32690EVKIT.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2024-09-23 18:12:00 -04:00
Sadik Ozer
e315ae12bb tests: drivers: pwm: Add MAX32666 board overlay files
Add MAX32666FTHR and MAX32666EVKIT pwm overlay file

Co-authored-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-09-23 18:12:00 -04:00
Sadik Ozer
95a73023ab tests: drivers: pwm: Add MAX32655 board overlay files
Add MAX32655EVKIT and MAX32655FTHR pwm overlay file

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-09-23 18:12:00 -04:00
Fabio Baltieri
e428a52a28 tests: i2c_emul: drop the array designators
Drop the array dasignators as they generate a

warning: array designators are a C99 extension

warning when compiling with clang. Not too sure if this is an actual
problem or if the warning should be disabled instead but since it's just
a test it should be fine to just drop them.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-09-23 18:10:30 -04:00
Fabio Baltieri
c51df533b5 tests: i2c_emul: fix sign comparison warning
Fix the compiler error:

comparison of integer expressions of different signedness: ‘const int’
and ‘unsigned int’

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-09-23 18:10:30 -04:00
TOKITA Hiroshi
efc7c7dacc tests: build_all: sensor: add wsen-pads trigger
Add trigger support for wsen-pads build all sensor tests.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-23 18:09:25 -04:00
TOKITA Hiroshi
51c5f46f0e tests: build_all: sensor: add iis328dq trigger
Add trigger support for iis328dq build all sensor tests.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-23 18:09:25 -04:00
TOKITA Hiroshi
aa23112828 tests: drivers: build_all: led: Add i2c devices build test
Add build tests for following devices.

- issi,is31fl3194
- issi,is31fl3216a
- issi,is31fl3733

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-23 13:23:28 -05:00
Fabrice DJIATSA
c386c7a00a tests: drivers: counter: counter_basic_api: boards: add ovarlay file
add nucleo_u083rc and stm32u083c_dk overlays files
for counter_api test purpose.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-23 10:02:16 +02:00
TOKITA Hiroshi
d0a9c065a4 tests: drivers: build_all: watchdog: Add i2c and spi devices build tests
Add build tests for following devices.

- nordic,npm6001-wdt
- nxp,fs26-wdog

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-23 10:01:54 +02:00
TOKITA Hiroshi
42020f202f tests: drivers: build_all: Add auxdisplay drivers test
Add build_all test for auxdisplay drivers.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-21 12:23:51 +01:00
TOKITA Hiroshi
325d7df026 tests: drivers: build_all: led_strip: Add RaspberryPi Pico PIO driver
Add build tests for "worldsemi,ws2812_rpi_pico_pio" driver

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-21 12:23:45 +01:00
TOKITA Hiroshi
945f9291c4 drivers: led_strip: tlc5971: Enable when the dt-node exists
The TLC5971_STRIP config enables if the "ti,tlc5971" node exists.
Also, removing the setting that explicitly enables in the
`tests/drivers/build_all/led_strip` test.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-21 12:23:45 +01:00
TOKITA Hiroshi
295078e8ec tests: drivers: build_all: led_strip: Add i2c-devices build test
Add build tests for following devices.

- apa,apa102
- greeled,lpd8806
- worldsemi,ws2812-spi

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-21 12:23:45 +01:00
Fabian Blatz
7e2337a1b7 drivers: stepper: shell: Add test for stepper shell
Adds a basic test suite for the stepper shell commands.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-09-21 12:23:19 +01:00
Emilio Benavente
63308c5f13 tests: drivers: dma: Enabled DMA Tests for MIMXRT1010_EVK
The Buffer data was being stored in cacheable memory for
the MIMXRT1010_EVK, the caching is not handle in these
test and cause mimxrt1010 to fail, this commit moves the
memory region to DTCM and in some cases lowers the size
of the DATA Buffer since it won't fit in DTCM for MIMXRT1010_EVK

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2024-09-20 15:23:58 -05:00
TOKITA Hiroshi
8915bad1ab tests: drivers: build_all: sensor: Adding Grove NTC Temperature Sensor
Add "seeed,grove-temperature" to testing targets.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-20 11:53:43 -05:00
TOKITA Hiroshi
082ce03389 tests: drivers: build_all: sensor: Adding Grove Photo-Resistor Light Sensor
Add "seeed,grove-light" to testing targets.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-20 11:53:43 -05:00
TOKITA Hiroshi
e9b1cde82e tests: drivers: build_all: display: Add i2c and spi devices build test
Add build tests for following devices.

- sharp,ls0xx
- maxim,max7219
- solomon,ssd1306fb

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-20 13:15:09 +02:00
TOKITA Hiroshi
512f237838 tests: drivers: build_all: video: Add i2c-devices build test
Add build tests for following devices.

- galaxycore,gc2145

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-20 09:03:07 +02:00
Hake Huang
b4ff177aa0 tests: spi_loopback: kinetis dspi fix
1. kenistis dspi does support rx and tx with different size,
so skip the tx_bigger test.
2. dspi dma need internal alignment and 8192 bytes are too
many for k64, so reduce to 1440 bytes

fixing: #77010

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-09-19 18:01:18 -04:00
Lucien Zhao
abad7ba7f7 tests: drivers: adc: add mimxrt1180_evk support for adc_api case
add necessary configuration for lpadc1 on cm33/cm7 cores
test passed on my local

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2024-09-19 18:16:04 +01:00