1sample:
2  description: An example to showcase usage of the nrfx_saadc driver in the advanced blocking mode
3  name: nrfx_saadc advanced blocking example
4tests:
5  examples.nrfx_saadc.advanced_blocking:
6    tags: saadc
7    filter: dt_compat_enabled("nordic,nrf-saadc")
8    platform_allow:
9      - nrf52dk/nrf52832
10      - nrf52833dk/nrf52833
11      - nrf52840dk/nrf52840
12      - nrf5340dk/nrf5340/cpuapp
13      - nrf9160dk/nrf9160
14    integration_platforms:
15      - nrf52dk/nrf52832
16      - nrf52833dk/nrf52833
17      - nrf52840dk/nrf52840
18      - nrf5340dk/nrf5340/cpuapp
19      - nrf9160dk/nrf9160
20    harness: console
21    harness_config:
22      fixture: nrfx_example_loopbacks
23      type: multi_line
24      ordered: true
25      regex:
26        - "Starting nrfx_saadc advanced blocking example."
27        - "Calibration in the blocking manner finished successfully."
28        - "Sampling 1 / 5"
29        - ".Sample 0. value == ([0-9]{3})"
30        - ".Sample 1. value == ([0-9]{3})"
31        - "Calibration in the blocking manner finished successfully."
32        - "Sampling 2 / 5"
33        - ".Sample 0. value == -?[0-9]"
34        - ".Sample 1. value == -?[0-9]"
35        - "Calibration in the blocking manner finished successfully."
36        - "Sampling 3 / 5"
37        - ".Sample 0. value == ([0-9]{3})"
38        - ".Sample 1. value == ([0-9]{3})"
39        - "Calibration in the blocking manner finished successfully."
40        - "Sampling 4 / 5"
41        - ".Sample 0. value == -?[0-9]"
42        - ".Sample 1. value == -?[0-9]"
43        - "Calibration in the blocking manner finished successfully."
44        - "Sampling 5 / 5"
45        - ".Sample 0. value == ([0-9]{3})"
46        - ".Sample 1. value == ([0-9]{3})"
47