zephyr/samples/basic/fade_led/sample.yaml
Gerard Marull-Paretas 5c61e4444b samples: fade_led/blinky_pwm: add pwm-leds compat check to filter
While the pwm-led0 alias may exist, it could happen that the node with
pwm-leds compatible is disabled, making the sample fail compilation.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-04-07 09:35:16 +02:00

9 lines
190 B
YAML

sample:
name: Fade LED
tests:
sample.basic.fade_led:
tags: drivers pwm
depends_on: pwm
harness: led
filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds")