zephyr/samples/drivers/watchdog/sample.yaml
Erwan Gouriou dda473e890 samples/drivers/watchdog: Update for stm32 window watchdog
Similarly to what was done for watchdog test,
update watchdog sample to be compatible with stm32 window watchdog
and enable testing by twister.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-02-02 08:15:51 -05:00

33 lines
935 B
YAML

sample:
name: Watchdog Driver Sample
tests:
sample.drivers.watchdog:
tags: drivers
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Watchdog sample application"
- "Feeding watchdog..."
- "Waiting for reset..."
- "Watchdog sample application"
depends_on: watchdog
filter: not dt_compat_enabled("st,stm32-window-watchdog")
sample.drivers.watchdog.stm32wwdg:
tags: drivers
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Watchdog sample application"
- "Feeding watchdog..."
- "Waiting for reset..."
- "Watchdog sample application"
tags: drivers watchdog
filter: dt_compat_enabled("st,stm32-window-watchdog")
depends_on: watchdog
extra_configs:
- CONFIG_CLOCK_STM32_APB1_PRESCALER=16