zephyr/tests
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
..
application_development hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
arch arch: move arch_interface.h under zephyr/arch 2024-03-25 09:58:35 +00:00
benchmarks tests: benchmark: adapt recording of benchmark results 2024-03-12 15:02:49 -04:00
bluetooth Bluetooth: audio: test: Refactor unit test 2024-03-26 09:46:50 +00:00
boards tests/boards/native_sim: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
boot hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
bsim bsim tests|samples: Remove uses of the nrf5340bsim hwmv1 boards 2024-03-26 10:35:34 -05:00
cmake
crypto hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
drivers tests/driver/adc: Add ADC accuracy test 2024-03-26 10:38:01 -05:00
kconfig/configdefault
kernel samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
lib devicetree.h: Rework DT_ANY_INST_HAS_PROP_STATUS_OKAY 2024-03-20 16:52:48 +00:00
misc tests/misc/check_init_priorities: Use hwmv2 native targets ident 2024-03-15 16:13:12 +01:00
modules tests/modules/nanopb: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
net tests: net: virtual: Fix the tests 2024-03-25 17:07:43 +01:00
posix tests: posix: tests for pthread_rwlockattr_setpshared 2024-03-22 16:19:57 -04:00
robot
subsys samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
unit kernel: api: implement test for sys_slist_find 2024-03-12 13:46:29 -04:00
ztest tests/ztest: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
test_config.yaml twister: tests: Add some generic driver tests to the scope 2023-11-30 19:38:50 -05:00