2017-04-05 11:11:22 +08:00
|
|
|
sample:
|
2017-11-14 22:37:33 +08:00
|
|
|
name: Blink LED (PWM based)
|
2017-04-05 11:11:22 +08:00
|
|
|
tests:
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.basic.blink_led:
|
2022-04-06 16:46:43 +08:00
|
|
|
filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds")
|
2023-05-08 19:37:42 +08:00
|
|
|
tags:
|
|
|
|
- drivers
|
|
|
|
- pwm
|
2017-11-14 22:37:33 +08:00
|
|
|
depends_on: pwm
|
2024-05-14 18:47:12 +08:00
|
|
|
harness: console
|
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: true
|
|
|
|
regex:
|
|
|
|
- "PWM-based blinky"
|
|
|
|
- "Calibrating for channel [0-9]+"
|
|
|
|
- "Done calibrating; maximum/minimum periods [0-9]+/[0-9]+ nsec"
|
|
|
|
- "Using period [0-9]+"
|
|
|
|
- "Using period [0-9]+"
|