zephyr/samples/drivers/led/pwm/sample.yaml
Benjamin Cabé 55d9d1c6ba samples: led: consolidate LED samples under same directory
With over a dozen LED samples, grouping them in a common drivers/led/
folder helps keep things tidy and lays the groundwork for further
improvements in the way samples are showing up in the docs.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-05 09:49:52 +02:00

23 lines
611 B
YAML

sample:
description: Demonstration of the PWM LED driver
name: PWM LED sample
tests:
sample.drivers.led.led_pwm:
filter: dt_compat_enabled("pwm-leds")
tags: LED
depends_on: pwm
platform_exclude: reel_board
timeout: 20
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Testing LED \\d+"
- "Turned on"
- "Turned off"
- "Increasing brightness gradually"
- "Blinking on: 0.1 sec, off: 0.1 sec"
- "(Blinking on: 1 sec, off: 1 sec|Cycle period not supported)"
- "Turned off, loop end"