1sample:
2  description: An example to showcase usage of the nrfx_gppi helper
3  name: nrfx_gppi fork example
4tests:
5  examples.nrfx_gppi.fork:
6    tags: gppi
7    filter: dt_compat_enabled("nordic,nrf-ppi") or dt_compat_enabled("nordic,nrf-dppic")
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      type: multi_line
23      ordered: true
24      regex:
25        - "Starting nrfx_gppi basic fork example."
26        - "GPIOTE status: initialized"
27        - "Time to wait: 1000 ms"
28        - "Timer status: enabled"
29        - "Timer finished. Context passed to the handler: >Some context<"
30        - "GPIOTE output pin .primary.: ([0-9]*) is low"
31        - "GPIOTE output pin .fork.: ([0-9]*) is high"
32        - "Timer finished. Context passed to the handler: >Some context<"
33        - "GPIOTE output pin .primary.: ([0-9]*) is high"
34        - "GPIOTE output pin .fork.: ([0-9]*) is low"
35