zephyr/tests/drivers
Yusuf Ahmed f22d30b853 tests/driver/adc: Add ADC accuracy test
These tests, that expects boards to be properly setup, allow one to
measure ADC value and compare to expected values.

Two tests are added. For one, a reference voltage is expected on the ADC
- and this value can be informed to the test via devicetree. The other
uses DAC to generate a value that is then read from ADC. This assumes
DAC is accurate. Naturally, one could make this a DAC test if ADC is
assumed to be accurate.

As the board setup involve connecting physical pins, they are behind
twister fixtures.

Signed-off-by: Yusuf Ahmed <muhammed.ahmed@intel.com>
Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2024-03-26 10:38:01 -05:00
..
adc tests/driver/adc: Add ADC accuracy test 2024-03-26 10:38:01 -05:00
audio/dmic_api hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
bbram bbram: Add tests 2024-01-12 09:59:31 +01:00
build_all tests: dac: overlay: change spi addresses to lowercase 2024-03-26 11:24:50 -04:00
can tests/drivers/can/timing: Remove unused overlays 2024-03-22 12:42:31 +00:00
charger/sbs_charger hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
clock_control tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
console twister: s/riscv(32|64)/riscv 2024-02-26 12:49:06 +01:00
console_switching tests: devmux: fix test identifiers 2024-02-11 10:58:23 -05:00
coredump/coredump_api tests: drivers: coredump: Enable code coverage 2023-12-07 12:14:32 -05:00
counter samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
dac hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
disk hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
display/display_read_write tests: drivers: display: add read() and write() test 2024-01-19 15:13:25 +00:00
dma samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
eeprom tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
entropy/api samples|tests/* yamls: Replace all nrf5340bsim hwmv1 names w hwmv2 version 2024-03-21 15:23:56 +01:00
espi tests/drivers espi: Switch from native_posix to native_sim 2023-11-20 09:20:59 +01:00
ethernet/eth_ivshmem_queue drivers: ethernet: Fix eth_ivshmem shared memory mapping 2023-11-27 12:15:43 +00:00
flash samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
flash_simulator tests/drivers/flash_simulator: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
fuel_gauge hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
gnss tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
gpio samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
hwinfo/api
i2c boards: nucleo_h563zi: Enable I2C 2024-03-12 16:07:20 +01:00
i2s treewide: fix board identifier in overlays for lpcxpresso55s69 2024-03-15 17:12:08 -04:00
input tests/drivers/input: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
interrupt_controller/intc_plic tests: drivers: intc_plic: Add tests for register index and offset 2023-11-20 09:20:13 +01:00
ipm
kscan tests/drivers/kscan: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
led/led_api
mbox/mbox_data tests: drivers: mbox: mbox_data: Fix usage of board name checking 2024-03-22 10:06:04 +01:00
memc/ram tests: exclude renode from tests requiring unsimulated peripherals 2024-01-08 16:17:43 +00:00
mipi_dsi/api
mm hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
pinctrl tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
pwm samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
regulator tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
retained_mem/api hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
rtc tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
sdhc tests: drivers: sdhc: add test for card insertion interrupt 2023-11-06 19:01:08 -05:00
sensor hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
smbus posix: Fix name collision with __bswap 2024-01-10 18:13:44 +00:00
spi samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
syscon
timer samples|tests/* yamls: Replace all nrf5340bsim hwmv1 names w hwmv2 version 2024-03-21 15:23:56 +01:00
uart drivers: serial: uart_async_rx: Add return value to consume function 2024-03-26 10:46:02 -04:00
udc tests/drivers/udc: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
usb/bc12 tests: usb: move bc12 tests under tests/drivers/usb 2023-12-22 09:54:12 +01:00
virtualization/ivshmem/plain tests: remove pci bus compatible id dependency from overlay files 2024-01-31 15:03:06 +01:00
w1/w1_api hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
watchdog tests: drivers: watchdog: wdt_basic_api: support numaker_pfm_m467 2024-03-03 18:58:46 +01:00