sample:
  description: An example to showcase usage of the nrfx_spim driver in the non-blocking mode
  name: nrfx_spim non-blocking example
tests:
  examples.nrfx_spim.non_blocking:
    tags: spim
    filter: dt_compat_enabled("nordic,nrf-spim")
    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:
      fixture: nrfx_example_loopbacks
      type: multi_line
      ordered: true
      regex:
        - "Starting nrfx_spim basic non-blocking example."
        - "SPIM finished. Context passed to the handler: >Some context<"
        - "Message received: Nordic Semiconductor"
