sample:
  description: An example to showcase usage of the nrfx_gppi helper
  name: nrfx_gppi one-to-one example
tests:
  examples.nrfx_gppi.one_to_one:
    tags: gppi
    filter: dt_compat_enabled("nordic,nrf-ppi") or dt_compat_enabled("nordic,nrf-dppic")
    platform_allow:
      - nrf52dk/nrf52832
      - nrf52833dk/nrf52833
      - nrf52840dk/nrf52840
      - nrf5340dk/nrf5340/cpuapp
      - nrf9160dk/nrf9160
    integration_platforms:
      - nrf52dk/nrf52832
      - nrf52833dk/nrf52833
      - nrf52840dk/nrf52840
      - nrf5340dk/nrf5340/cpuapp
      - nrf9160dk/nrf9160
    harness: console
    harness_config:
      type: multi_line
      ordered: true
      regex:
        - "Starting nrfx_gppi basic one-to-one example."
        - "GPIOTE status: initialized"
        - "Time to wait: 1000 ms"
        - "Timer status: enabled"
        - "Timer finished. Context passed to the handler: >Some context<"
        - "GPIOTE output pin: ([0-9]*) is low"
        - "Timer finished. Context passed to the handler: >Some context<"
        - "GPIOTE output pin: ([0-9]*) is high"
