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>
9 lines
190 B
YAML
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")
|