1sample:
2  description: An example to showcase usage of the nrfx_pwm driver for sequences loaded in grouped mode.
3  name: nrfx_pwm grouped mode example
4tests:
5  examples.nrfx_pwm.grouped_mode:
6    tags: pwm
7    filter: dt_compat_enabled("nordic,nrf-pwm")
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_pwm example for sequences loaded in grouped mode."
26        - "Loops: 1 / 6"
27        - "SEQ1 changed to sequence number 2 from the seq array"
28        - "Loops: 2 / 6"
29        - "SEQ1 changed to sequence number 1 from the seq array"
30        - "Loops: 3 / 6"
31        - "SEQ1 changed to sequence number 2 from the seq array"
32        - "Loops: 4 / 6"
33        - "SEQ1 changed to sequence number 1 from the seq array"
34        - "Loops: 5 / 6"
35        - "SEQ1 changed to sequence number 2 from the seq array"
36        - "Loops: 6 / 6"
37        - "SEQ1 changed to sequence number 1 from the seq array"
38        - "PWM finished"
39