sample:
  description: An example to showcase usage of the nrfx_temp driver in the blocking mode
  name: nrfx_temp blocking example
tests:
  examples.nrfx_temp.blocking:
    tags: temp
    filter: dt_compat_enabled("nordic,nrf-temp")
    platform_allow:
      - nrf52dk/nrf52832
      - nrf52833dk/nrf52833
      - nrf52840dk/nrf52840
      - nrf5340dk/nrf5340/cpunet
    integration_platforms:
      - nrf52dk/nrf52832
      - nrf52833dk/nrf52833
      - nrf52840dk/nrf52840
      - nrf5340dk/nrf5340/cpunet
    harness: console
    harness_config:
      type: multi_line
      ordered: true
      regex:
        - "Starting nrfx_temp blocking example."
        - "Measured temperature: ([0-9]*).([0-9]{2}) .C."
        - "Measured temperature: ([0-9]*).([0-9]{2}) .C."
        - "Measured temperature: ([0-9]*).([0-9]{2}) .C."
        - "Measured temperature: ([0-9]*).([0-9]{2}) .C."
        - "Measured temperature: ([0-9]*).([0-9]{2}) .C."
