Commit graph

16700 commits

Author SHA1 Message Date
Furkan Akkiz
5ddbb22478 tests: drivers: dma: Add MAX32657 boards overlay files
Enable 'chan_blen_transfer' and 'loop_transfer' tests for MAX32657EVKIT.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2025-06-10 08:47:42 +02:00
Nimish Tambe
936d0278bd posix: fnmatch: fix bugs in fnmatch(), see issue #55186
all tests in tests/posix/c_lib_ext/src/fnmatch.c seem to pass
except one (which is still commented)

Signed-off-by: Nimish Tambe <nimisht@gmail.com>
2025-06-09 17:05:40 -05:00
Raffael Rostagno
8ed4d044d1 tests: dma: esp32c2: esp8684: Add test config
Add test config for chan_blen_transfer suite.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-06-09 14:35:51 -07:00
Sudan Landge
feb8f7766e tests: update for MPS4
MPS4, similar to MPS3 Corstone-310, splits code between DTCM and SRAM
and thus requires similar handling.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-06-09 14:35:12 -07:00
Phuc Pham
8b438d2288 tests: drivers: gpio: Add support for RZ/G2UL-SMARC
Enable GPIO driver tests for RZ/G2UL-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
6c15907b7a tests: drivers: serial: Add support for Renesas RZ/G2UL-SMARC
Enable serial driver tests for RZ/G2UL-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Fabrice DJIATSA
054efe6f7a tests: drivers: adc: adc_api: boards: turn of time slicing
set CONFIG_TIMESLICE_SIZE to 0 to disable time slicing.

Certain boards like nucleo_g071rb, nucleo_f091rc,
nucleo_l073rz will not start consecutive samplings as fast
as possible.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-06-09 10:26:03 +01:00
Jordan Yates
5f5a534445 tests: adc: adc_rescale: test adc_raw_to_microvolts_dt
Test that the output of `adc_raw_to_microvolts_dt` matches the output of
`adc_raw_to_millivolts_dt` to the resolution of the latter.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-06-09 10:25:52 +01:00
Chris Friedt
4b52921df5 tests: posix: xsi_single_process: remove unnecessary min_ram filter
The xsi single process test suite requires something like 256 bytes
of heap space. There is no legitimate reason to require 24kB of
ram.

This gets rid of a twister error

```
Error found: portability.xsi.single_process.newlib on
qemu_cortex_m0/nrf51822 (Not enough RAM but is one of the integration
platforms)
```

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-09 08:57:14 +02:00
Arkadiusz Cholewinski
471aa1b477 PM: Record metrics in power management tests
Add metrics recording functionality to power management tests.

Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
2025-06-09 08:55:31 +02:00
Duy Nguyen
9e5aa827bb tests: drivers: spi: Add configuration for SPI test on RX130
Add device tree overlay for spi test on RSKRX130 board

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-06-09 08:55:05 +02:00
TOKITA Hiroshi
77d1276446 tests: drivers: entropy: api: add qemu_cortex_a53 configuration
Add `qemu_cortex_a53` target which has the `virtio,entropy` device.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-07 15:39:06 +01:00
TOKITA Hiroshi
dd9b85f749 tests: drivers: build_all: virtio: add VIRTIO MMIO build test
Add the `qemu_cortex_a53` configuration to run the build test
for the VIRTIO MMIO driver.
To add this test, we have split the virtio-pci and virtio-mmio test cases.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-07 15:39:06 +01:00
Sayooj K Karun
ada616b83f tests: lib: min_heap Add unit tests for min-heap API
Introduce test suite using Ztest for validating the min-heap API.
Covers insertion, removal, ordering, and custom comparators.

The tests verify correct behavior under both static and dynamic
initialization modes.

Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2025-06-07 13:29:24 +01:00
Piotr Kosycarz
d7006195ac tests: drivers: spi: spi_loopback: configure spi latency expectation
Allow to customize scaling factor used to compare ideal spi transfer
and measured one.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-06-06 20:11:32 +01:00
Jilay Pandya
6cc35eea81 tests: adltc2990: introduce mock_i2c_error function
Introduce mock_i2c_error function in emulator in order to emulate i2c
errors for various registers

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-06 09:08:22 -07:00
Jilay Pandya
529029e4e3 tests: adltc2990: increase coverage
increase test coverage for adltc2990 and fix a bug found during testing

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-06 09:08:22 -07:00
Adam Kondraciuk
d0785ce58f tests: kernel: timer: cycle64: Add support for GRTC
For GRTC timer a longer timeout is required:
(2 ^ 32) * 2 * 1us

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-06-06 14:48:53 +01:00
Alain Volmat
cd8dccf211 drivers: video: introduction of the stm32 DCMIPP driver
The STM32 Digital Camera Memory Interface Pixel Processor (DCMIPP)
is a multi-pipeline camera interface allowing to capture
and process frames from parallel or CSI interfaces depending on its
version.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-06 10:10:58 +02:00
Szymon Czapracki
c91b98c829 tests: Bluetooth: tester: Instructions for btsnoop and RTT logging
Updated the tester README with configuration options required to
build with support for btsnoop and SEGGER RTT log backends. This
helps developers capture logs for debugging and analysis during
Bluetooth testing.

Signed-off-by: Szymon Czapracki <szymon.czapracki@codecoup.pl>
2025-06-06 08:45:23 +02:00
Bjarki Arge Andreasen
73bf428ea1 tests: kernel: workq: work_queue: add work timeout test
Add workqueue work timeout test to work_queue test suite.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-06 08:42:53 +02:00
Fin Maaß
1c319304d1 tests: add for DT_ALL_INST_HAS_PROP_STATUS_OKAY() macro
add test for DT_ALL_INST_HAS_PROP_STATUS_OKAY() macro.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-06 08:42:41 +02:00
Fin Maaß
416a76002e tests: add for DT_ALL_INST_HAS_BOOL_STATUS_OKAY() macro
add test for DT_ALL_INST_HAS_BOOL_STATUS_OKAY() macro.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-06 08:42:41 +02:00
Khoa Nguyen
a545e19c5c tests: drivers: flash: Add support "common" for Renesas OSPI_B
Add support test app "flash/common" for testing Renesas RA
OSPI_B on ek_ra8m1, ek_ra8d1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-06 08:41:46 +02:00
Aleksandr Khromykh
a046f25fe7 tests: bluetooth: tester: fix configuration to use max fwid length
Commit sets max possible number of tx and rx segments
to not adapt them anymore.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2025-06-05 15:14:35 -05:00
Ruibin Chang
47d1e38043 drivers/counter: implement it51xxx counter driver
Implement counter driver for ITE it51xxx series chip.

Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
2025-06-05 12:33:29 +02:00
TOKITA Hiroshi
7daa75f634 tests: entropy: api: add overlay for VirtIO Entropy device
Add `boards/qemu_x86_64.overlay` and some config modification
for testing `virtio,entropy` device.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-05 09:33:59 +02:00
TOKITA Hiroshi
1422897a85 tests: drivers: build_all: virtio add VirtIO Entropy build test
Add a build test for the VirtIO Entropy driver.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-05 09:33:59 +02:00
Alex Ivanov
5a9394a1e0 llext: add dynamic heap allocation support
Some applications require loading extensions into the memory which does
not exist during the boot time and cannot be allocated statically. Make
the application responsible for LLEXT heap allocation. Do not allocate
LLEXT heap statically.

Signed-off-by: Alex Ivanov <alexivanov@google.com>
2025-06-04 15:50:57 -04:00
Alain Volmat
3db7b40238 video: introduction of driver for Omnivision OV9655
This commit add support for the Omnivision OV9655 sensor,
a 1.3MPix Color SXGA (1280x1024 sensor).
Current driver only allow output of 320x240 and 160x120
resolution either in RGB565 or YUYV.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-04 15:50:24 -04:00
Ajith Anandhan
455d0d8698 tests: adc_api: add dts overlay for STM32F4-DISCO
Add a dts overlay file for the STM32F4-DISCO to enable ADC ch testing
with the adc_api test.

Signed-off-by: Ajith Anandhan <ajithanandhan0406@gmail.com>
2025-06-04 17:03:27 +02:00
Michał Stasiak
72623f98f7 test: drivers: clock_control_api: Fix conf file application
CONF_FILE parameter in testcase.yaml overwrites board
specific configurations. Change it to EXTRA_CONF_FILE
to apply both configurations.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-06-04 17:03:03 +02:00
Yishai Jaffe
51f1607395 tests: display: cfb: added htiled display test cases
Added the option to make the SDL emulator htiled and added test cases to
test it.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-06-04 17:00:30 +02:00
Tien Nguyen
85f5bd9520 tests: drivers: gpio: Add support for RZ/V2H-EVK M33 core
Add support for RZ/V2H-EVK M33 core

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
2025-06-04 17:00:01 +02:00
Johan Lafon
6dbfc8ee02 tests: drivers: adc: add MCP356xR
Add instance of the MCP356xR ADC to the build all tests.

Signed-off-by: Johan Lafon <johan.lafon@syslinbit.com>
2025-06-04 16:58:52 +02:00
Shan Pen
8d55e73808 boards: ruiside: RA8D1 Vision Board: add support
this is another board from ruiside, tested uart,
button, led, sdram, sd card

Signed-off-by: Shan Pen <bricle031@gmail.com>
2025-06-04 10:03:51 +02:00
Raffael Rostagno
d8358b29a0 tests: drivers: spi_loopback: Fix NULL rx buff testcase
Fixes setup of TX buffer, which shouldn't be NULL in the RX NULL
tescase.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-06-04 08:46:05 +02:00
Luis Ubieda
564e7ebd8b tests: gnss: Add F9P node to build-all test
For build-time validation.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-06-04 08:44:59 +02:00
Khoa Nguyen
291860e193 tests: drivers: spi: Add support spi_controller_peripheral for RA
Add support test app support spi_controller_peripheral for Renesas
RA boards: ek_ra6m5, ek_ra6m4, ek_ra6m3, ek_ra6m2, ek_ra6m1,
ek_ra6e2, fpb_ra6e2, ek_ra4m1, ek_ra2a1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-04 08:44:47 +02:00
Nhut Nguyen
49f520fcd9 tests: kernel: tickless: Add support for RZ/G3S-SMARC
Add test support for System Timer driver of RZ/G3S-SMARC

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
2025-06-03 17:08:30 +02:00
Zongchun Yu
2c2d12f765 boards: nxp: imx91_evk: add GPIO support
Add gpio in board yaml file, gpio2 is enabled by default.
Add btn and led nodes to ensure the button and blinky samples can work.
Add board overlay file for driver test case: gpio_basic_api.

Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
2025-06-03 09:15:09 +02:00
Joel Guittet
05f71f3874 drivers: counter: fix counter node in esp32 timers
Fix counter device tree node of the esp32 timers in the counter sample
and test app.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2025-06-02 22:36:03 -04:00
Borislav Kereziev
10e5753d20 drivers: sensor: Add support for BH1730 ambient light sensor
This commit adds support for BH1730 ambient light sensor.

Signed-off-by: Borislav Kereziev <b.kereziev@gmail.com>
2025-06-02 20:22:42 +02:00
Sylvio Alves
e0a915a178 soc: espressif: convert rtc peripheral to clock subsystem
Current ESP32 clock system is mixed with RTC labeling/registers,
but it doesn't implement a real-time clock (RTC) driver.

To avoid confusion and allow adding a proper RTC driver later,
this commit renames the existing RTC interface to CLOCK and make
it as a subsystem without any peripheral attached to it.

This better reflects its actual purpose as a general clock controller.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-06-02 17:38:08 +02:00
Filip Kokosinski
07e4ba4240 soc/sifive: differentiate between FE310-G000 and FE310-G002
This commit reflects a difference between FE310-G000 and FE310-G002 SoCs,
since only the latter supports PMP. The result of that is the split of the
HiFive1 board into two separate targets, since the HWMv2 right now assumes
that board revisions share the same SoC.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-06-02 17:37:32 +02:00
Filip Kokosinski
ba562ee684 tests: add min_ram for heap-using testcases
Two testcases have an implicit minimum memory requirement due to heap usage
and are failing with `ENOMEM` for some platforms:
* portability.xsi.single_process.newlib
* kernel.message_queue.usage

This commit filters out platform that can't satisfy this requirement.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-06-02 17:37:32 +02:00
Jakub Michalski
b7565240a3 tests: add VIRTIO PCI build test
This commit adds a build test for the VIRTIO PCI device.

Signed-off-by: Jakub Michalski <jmichalski@antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-06-02 17:37:07 +02:00
Shrek Wang
6e7756a542 net: tcp: Change SYN FIN to use send_data_timer
The send_queue was used as SYN/FIN packet retransmission. Before
the SYN/FIN being ACKed and dequeue-ed, the following packets in
the send_queue cannot be sent out. That's why Zephyr had to send
a FIN+ACK instead of a duplicated ACK-only in FINWAIT1, CLOSING.
In fact, we can take SYN/FIN as kind of data and use the same
send_data_timer for retransmission, like other OSes do. This way,
the send_queue is simply used for local traffics.
Benefits (in theory):
1. The code is easier,
2. TxPkt performance is better after skipping enq/deq send_queue,
3. The struct tcp{} node is a few bytes smaller, saving memory.

Signed-off-by: Shrek Wang <inet_eman@outlook.com>
2025-06-02 13:30:19 +02:00
Adam Kondraciuk
8b6c2b1e8b tests: drivers: i2s: Align tests to TDM peripheral
Some of nRF54's has TDM peripheral instead of I2S.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-06-02 13:29:10 +02:00
Alain Volmat
eeab052505 video: st_mipid02: addition of ST MIPID02 CSI bridge
Addition of the support for the CSI to DVP bridge ST MIPID02.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-02 05:48:03 +02:00