Use a structured channel specifier rather than a single enum when
specifying channels to read in the new read/decoder API.
Replaces usages of a seperate channel and channel_index parameter
where previously used with a struct sensor_chan_spec.
Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
Enable PWM and PWM_CAPTURE in conf and add pwm node to app.overlay.
Add TSic xx6 node to pwm.dtsi.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
These tests run fine in this board, let's provide an
overlay and enable them.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Remove all CAN controller "bus-speed" and "bus-speed-data"
properties. These all use the default bitrates set via Kconfig.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Rather than relying to the alphanumeric test ordering implemented in
ZTEST to ensure certain tests run first, setup the SDHC IO properties to
known good values before starting any of the tests. This allows the SDHC
tests to run in any order, rather than needing certain tests to run
first.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
STM32 devices with an SDMMC driver will still need to be tested, but
they do not use the SDHC framework for their disk driver. Therefore, add
a special testcase to validate disk access support for devices with the
STM32 specific SDMMC DT compatible enabled.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Add test scenario that verifies correct error code
returned by wdt_setup() when called just after wdt_disable().
Scenario:
- configure WDT timeout;
- start WDT by calling wdt_setup();
- remove all WDT timeouts by calling wdt_disable();
- confirm wdt_setup() returns error code due to lack
of configured WDT timeouts.
Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Add a simple test intended primarily for checking the nRF temperature
sensor in its nrfs variant but intentionally was made generic enough
that it should be usable with other temperature sensors (after just
providing an overlay) and could be helpful in development of new
temperature sensor drivers, and possibly extended then if needed.
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Add a test of FLASH_STM32_EX_OP_BLOCK_OPTION_REG and
FLASH_STM32_EX_OP_BLOCK_CONTROL_REG extended operations for stm32f4.
It verifies that the Option Byte and Control registers are blocked
correctly. The registers can be unlock after reboot, so it is needed
to separate this test from other tests.
Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
Extend coverage for the i2c master mode driver
This test suite uses external sensor BME688
Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
Conigure UART to use 2 stop bits and even parity
in 'dual transmission' case
to cover more driver code cases.
Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
Adds chain length and colour mapping properties to LED strip devices
on boards where these parameters are now required
Signed-off-by: Jamie McCrae <spam@helper3000.net>
When the needed functionality is not available, its test should be
skipped, not passed.
Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Add support for running tests with DCache enabled & put DMA buffers
in a nocache memory region to avoid coherency issues.
Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
Add a test for the flash simulator preserving memory across a
`sys_reboot` through the use of memory regions.
Signed-off-by: Jordan Yates <jordan@embeint.com>
`rtio_sqe_prep_write()` and `rtio_sqe_prep_read()` memset the sqe
struct to zeroes, clearing any configuration previously set. This
commit changes this sequence in the test, such that the sqe's are
prepared, then additional flags/configs applied.
Signed-off-by: Luis Ubieda <luisf@croxel.com>
Add overlay and conf for emulated boards allowing the test suite
along with the emulated GNSS driver to be built and tested by CI.
Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
Add GNSS API test suite validating the behavior of a GNSS
device adheres to the GNSS API.
Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
Add overaly files for Application and Radio cores.
Configure test according to watchdog features
available on nRF54H20.
Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
The b_u585i_iot02a platform already has an 'eeprom0' node in the default
devicetree. Delete the default node so that the overlay can define the
nodes needed for the test.
Signed-off-by: Bram Vlerick <bram.vlerick@openpixelsystems.org>
Add device driver for TI TMP114 I2C temperature sensor.
The driver only support basic functionality, i.e. fetch temperature
using default values.
Datasheet:
https://www.ti.com/lit/ds/symlink/tmp114.pdf
Signed-off-by: Fredrik Gihl <fgihl@hotmail.com>
This testsuite requires an external I2C RAM connected to the I2C bus.
Adding details to provide guidance to users interested in running the
suite.
Signed-off-by: Luis Ubieda <luisf@croxel.com>