Commit graph

16700 commits

Author SHA1 Message Date
Bindu S
00419aec9b tests: drivers: watchdog: Add intel_btl_s_crb overlay
Add overlay to enable watchdog for BTL-S platform.

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-05-20 15:24:18 +02:00
Bindu S
ffc9cfb8f5 tests: drivers: uart: uart_async_api: Enabled tests for BTL-S
Enabled tests for intel_btl_s_crb platform.

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-05-20 15:24:18 +02:00
Bindu S
17d1895962 tests: drivers: gpio: gpio_basic_api: Enabled gpio test for BTL-S
Enabled gpio_basic_api test for BTL-S platform.

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-05-20 15:24:18 +02:00
Bindu S
6f1b49179c tests: disks: disk_performance: Enabled NVMe disk to BTL-S platform
Added overlay and conf to enable NVMe disk performance tests
on BTL-S board.

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-05-20 15:24:18 +02:00
Bindu S
c6c5716c81 tests: disks : Enabled NVMe disk to BTL-S platform
Added overlay and conf to enable NVMe disk tests on BTL-S board.

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-05-20 15:24:18 +02:00
Bindu S
d33cd0ea69 tests: drivers: spi: spi_loopback: Enabled SPI in BTL-S
Added overlay and conf to enable SPI tests on BTL-S board.

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-05-20 15:24:18 +02:00
Fabrice DJIATSA
598987ef6a tests: drivers: gpio: gpio_basic_api: update arduino pins header
Loopback with D4 <-> D5 to avoid a failed test with the error
"physical pull-down does not read low."
It looks like pins D2-D3 couldn't be configured to pull-up
for some reason.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-05-20 09:16:56 +02:00
Sylvio Alves
b78d1a1c96 tests: build_all: video: add esp32s3_eye board
Make sure esp32s3 video driver is built during CI tests.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-05-19 21:55:32 +02:00
Emil Gydesen
69b722566a tests: Bluetooth: Tester: Audio: Cleanup includes
Update the includes so that only what is actually used is included,
and so that everything is used is includes (IWYU).

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-05-19 16:48:53 +01:00
Camille BAUD
26d170e9b6 tests: display: Fix SSD1327 Test
Adds new property

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-05-19 16:35:50 +02:00
Daniel Mangum
3675ff2c14 tests: lib: p4wq: turn of time slicing
Turns off time slicing as these tests do not expect time slicing and
previously operated without time slicing, but now fallback to the new
default of a time slice size of 20 added in e337b7b. This explicitly sets
the time slice size to 0.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2025-05-17 14:10:13 +02:00
Daniel Mangum
71c4476332 tests: kernel: usage: turn off time slicing in thread runtime stats tests
Turns off time slicing as these tests do not expect time slicing and
previously operated without time slicing, but now fallback to the new
default of a time slice size of 20 added in e337b7b. This explicitly sets
the time slice size to 0.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2025-05-17 14:10:13 +02:00
Wajdi ELMuhtadi
6353ba88b6 drivers: sensor: wsen_itds_2533020201601: add sensor driver
Add wsen_itds_2533020201601 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-05-16 22:56:06 +02:00
Daniel Mangum
f47330edd8 tests: kernel: set timeslice size to 0 in tests that do not exercise it
Sets CONFIG_TIMESLICE_SIZE=0 for tests that previously expected to run
without timeslicing enabled, and now fail with the default
CONFIG_TIMESLICE_SIZE=20. Note that timeslicing functionality is still
included, but no actual timeslicing is performed.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2025-05-16 22:55:49 +02:00
Scott Worley
356827e4f4 tests: drivers: spi: loopback: Add Microchip MEC174x and MEC175x boards
Add Microchip MEC5 HAL based mec_assy6941 evaluation board to
the Zephyr SPI loopback driver test.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-05-16 21:36:50 +02:00
Luis Ubieda
035e651af0 tests: sensor: i2c: Add rm3100 to Build-all testsuite
For build-time validation.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-05-16 21:36:23 +02:00
Peter Wang
2fc2c1dd2a boards: frdm_mcxa166, frdm_mcxa276: add spi support
1. enable spi support
2. verified tests/drivers/spi/spi_loopback

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Peter Wang
8405754a30 boards: frdm_mcxa166, frdm_mcxa276: add i2c support
1. enable i2c support
2. verified tests/drivers/i2c/i2c_target_api

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Peter Wang
073e04ce32 boards: frdm_mcxa166, frdm_mcxa276: add adc support
1. enable adc support
2. verified samples/drivers/adc/adc_dt and tests/drivers/adc/adc_api

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Alex Rodriguez
e9fd7ecf69 tests: drivers: wdt: basic_reset_none: frdm_rw612: Enable standby mode
Enables system PM and standby mode to
verify that the wdt driver correctly handles
PM3 mode.

Signed-off-by: Alex Rodriguez <alejandro.rodriguezlimon@nxp.com>
2025-05-16 19:01:08 +02:00
Hake Huang
0c5f13a599 tests: dma: enable dma test setting for NXP KE1XZ
NXP Ke1xz series need using mux starting from 60

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2025-05-16 19:00:17 +02:00
Phi Bang Nguyen
9fa1aeea32 drivers: video: Add video_buf_type
M2M devices like ISPs or PxP have two separate buffer queues, i.e.
incoming and outcoming queues. For each API, the driver needs to
distinguish on which queue it needs to take action.

Add video buffer type to support this kind of devices.

- get_caps(), set/get_format(), enqueue()/dequeue(): the buffer type
is embeded in the video_caps, video_format and video_buffer structs

- video_stream_start/stop() : buffer type needs is sent as a parameter

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-05-16 19:00:09 +02:00
Phi Bang Nguyen
b63fb91622 drivers: video: Drop video_endpoint_id
The video endpoints are already described in the devicetree. The
video_endpoint_id parameter in each video API is not necessary and has
no usage. Drop it.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-05-16 19:00:09 +02:00
Andrzej Głąbek
6b02c9f6a1 tests: drivers: clock_control: Add initial DVFS polling
Add a setup routine that waits until DVFS finishes its initialization
and during that time tries to constantly make requests that involve
DVFS. This polling ensures that the clock control driver can properly
recover after an unsuccessful request.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-05-16 17:32:35 +02:00
Andrzej Głąbek
009201e0f2 tests: driver: nrf_clock_control: Verify that clocks are ready
Ensure that a given clock controller is ready before making requests
to it. Otherwise, if for some reason the clock controller fails to
initialize (for example, when BICR turns out to be not populated with
required values), the test may end up with an enigmatic bus fault.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-05-16 17:32:35 +02:00
Francois Ramu
97855afc23 tests: drivers: flash common testing in non SPI-NOR
Set an overlay to build tests/drivers/flash/common/
drivers.flash.common.disable_spi_nor when the SPI NOR exists
but test does not use it

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-05-16 12:36:26 +02:00
Rodrigo Peixoto
6d0760aa98 tests: zbus: Add separate tests for ALLOC NONE
Add tests for ALLOC_NONE configuration.

Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
2025-05-16 09:37:20 +02:00
Rodrigo Peixoto
f6f2b527bb tests: zbus: Adjust runtime observers tests
Reverse the changes the affected API and add test to the new dynamic and
static variations.

Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
2025-05-16 09:37:20 +02:00
Anas Nashif
e48c90700d doc: remove more occurances of Nios II
Remove all occurances of Nios II from docs and code.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-05-15 20:01:05 -04:00
Anas Nashif
5fe84d5b69 arch: nios2: remove arch
Remove architecture and dependencies.
Remove altera HAL supporting nios2

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-05-15 20:01:05 -04:00
Anas Nashif
7e47227d87 boards: max10/nios2: remove remaining boards/socs
Remove remaining nios2 based boards and soc files.

Part of #89280

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-05-15 20:01:05 -04:00
Anas Nashif
d881fb334b boards: qemu_nios2: drop board definition
Remove qemu_nios2, more removals will follow.

Part of #89280

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-05-15 20:01:05 -04:00
Piotr Kosycarz
67eb03c52c tests: drivers: uart: uart_async_api: test short buffers
Extend testing with short buffers.
Try different lengths of transmitted data.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-05-15 22:14:08 +02:00
Riadh Ghaddab
457ade48b4 settings: zms: code style clean up
Clean some parts of the code and refactor it to avoid multiple nested
conditions.

Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-05-15 17:53:26 +02:00
Riadh Ghaddab
cad2f1c103 settings: add new API function settings_get_val_len()
Add a function to get the value's length of a Key. If it doesn't exist
returns 0.
Add ZMS implementation for csi_get_val_len() and a default implementation
for the other storage systems.
Add some functional tests to verify it.

Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-05-15 17:53:26 +02:00
Riadh Ghaddab
dffdec18c2 tests: settings: add functional test for ZMS
Add the functional test for the new backend of ZMS

Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-05-15 17:53:26 +02:00
Riadh Ghaddab
a903b4b0d1 tests: settings: add a functional test for settings_load_one
Add a test for the new API settings_load_one that loads only one path
from the persistent storage.

Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-05-15 17:53:26 +02:00
Robert Lubos
4512cbf509 tests: net: sockets: tls_configurations: Use fixture for openssl
Currently, creating and killing openssl process was part of the test. In
result, if the test case failed for whatever reason, the openssl process
would remain open, causing disruptions in consecutive test executions.

Fix that by defining openssl server instance as a pytest fixture. That
way, openssl process will be terminated regardless of the test
result.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-05-15 14:10:05 +02:00
Chris Friedt
ee874b346d tests: posix: xsi_realtime: add integration platforms to testsuite
Use qemu_x86, qemu_cortex_a53, and qemu_riscv64 as integration
test platforms for this testsuite, since both qemu_x86 and
qemu_cortex_a53 both have an MMU available, and qemu_riscv64
can execute quickly that mmu-less systems can also use a subset
of the option group (minus `mmap()`).

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-05-15 14:09:33 +02:00
Chris Friedt
ab4616856e tests: posix: xsi_realtime: bump min_ram to 96k
The xsi_realtime testsuite now includes tests for fsync() and
fdatasync() which require a ram-based fat filesystem.

Technically speaking, it would probably not be 100% necessary
to use a ramdisk to test these functions, but then the test
would be limited to running on platforms with some file-system
based storage.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-05-15 14:09:33 +02:00
Jérôme Pouiller
182e69095b tests: drivers: pwm: Fix build
Commit a1f48216bc ("soc: silabs: siwx91x: Rename pins") broke the test
for pwm_api.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-05-15 14:09:23 +02:00
Martin Hoff
744c70bef8 tests: drivers: rtc: add siwg917_rb4338a board overlay and add rtc tag
Add rtc tag to the siwg917_rb4338a board to activate testing on the
board.
Also add an overlay for the board in order to run the test correctly.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-05-15 14:09:23 +02:00
Anisetti Avinash Krishna
9b2e0a4b5b tests: drivers: rtc: rtc_api: boards: Enable ALARM and UPDATE testing
Enabled CONFIG_ALARM and CONFIG_UPDATE to enable these tests on intel
platforms.

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-05-15 09:00:48 +02:00
Jérôme Pouiller
12afcc880c boards: silabs: Add support for rb4342a
Radio Board 4342A is really similar to the 4338A. There are a few
difference on the pinmux, but most of the peripherals and the SoC are
the same.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-05-15 09:00:39 +02:00
Jérôme Pouiller
a1f48216bc soc: silabs: siwx91x: Rename pins
The reference manual and the schematics of the reference designs
numbers the pins from 0 to 57. So let's also apply this scheme to the
pinctrl.

Note while PIN are numbered between 0 and 64, the GPIOs are represented
with 4 block of 16 GPIOs. This is the way the GPIOs are documented in
the reference manual, so we don't change that (In addition,
gpio_port_pins_t is a uint32_t, so it won't be possible to represent 64
GPIOs in one gpio_port_pins_t anyway).

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-05-15 09:00:39 +02:00
Quang Le
66eb8a8c1d tests: drivers: spi: Add support for RZ/G3S-SMARC
Enable SPI driver tests for RZ/G3S-SMARC

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Binh Nguyen <binh.nguyen.xw@renesas.com>
2025-05-15 09:00:31 +02:00
Henrik Brix Andersen
b240f11592 tests: drivers: virtualization: qemu_kvm_arm64.overlay: fix SPDX license
"UNLICENSED" is not a valid SPDX License Identifier. Remove it from the
list and just keep "Apache-2.0".

Fixes: #89413

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2025-05-14 19:36:38 +02:00
Derek Snell
2ad7c8c9cc doc: tests: drivers: i2s_speed: MIMXRT1060-EVK jumpers
Add correct jumper for EVKB board revision.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-05-14 16:27:05 +02:00
Bjarki Arge Andreasen
726fd18e88 tests: drivers: spi: spi_loopback: nrf54h20 cpuapp: add cs gpio
Add CS GPIO to nrf54h20dk/nrf54h20/cpuapp which is connected to
PORT which is in the "fast domain". The fast domain needs to be
resumed from thread context given it requires IPC communication.

This thus ensures that GPIO can be used with and without
PM_DEVICE_RUNTIME enabled.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-05-14 15:19:22 +02:00
Bjarki Arge Andreasen
1cda0eeba0 tests: drivers: spi: spi_loopback: impl pm_device_runtime support
Implement pm_device_runtime support to spi_loopback test suite.

Specifically:
- call pm_device_runtime_get() on SPI bus before using SPI bus
- call pm_device_runtime_put() once SPI bus is no longer needed.
  This is after transceive has been performed, or after calling
  spi_release_dt() after a transceive has been performed.

This addition has no affect if PM_DEVICE_RUNTIME is not enabled
on a board/test case basis.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-05-14 15:19:22 +02:00