zephyr/samples/drivers/watchdog/sample.yaml
TOKITA Hiroshi c28fd3079e samples: driver: watchdog: Add GD32 SoCs support
Add support for boards that implement GD32 SoC.

Overlay file for longan_nano_lite enables FWDGT.

Add WDT_FEED_INTERVAL to make adjustable
the execution cycle of wdt_feed().

And also, make waiting for the WDT_FEED_INTERVAL period
for the watchdog window opens at the start of the test.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2022-10-03 18:07:16 +02:00

42 lines
1.9 KiB
YAML

sample:
name: Watchdog Driver Sample
common:
tags: drivers watchdog
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Watchdog sample application"
- "Feeding watchdog..."
- "Waiting for reset..."
- "Watchdog sample application"
depends_on: watchdog
tests:
sample.drivers.watchdog:
filter: not (CONFIG_SOC_FAMILY_STM32 or CONFIG_SOC_FAMILY_GD32 or SOC_SERIES_GD32VF103)
sample.drivers.watchdog.stm32_wwdg:
extra_args: DTC_OVERLAY_FILE=boards/stm32_wwdg.overlay
filter: dt_compat_enabled("st,stm32-window-watchdog")
platform_allow: b_u585i_iot02a nucleo_f091rc nucleo_f103rb nucleo_f207zg nucleo_f429zi
nucleo_f746zg nucleo_g071rb nucleo_g474re nucleo_h743zi nucleo_l073rz nucleo_l152re
nucleo_wb55rg nucleo_wl55jc stm32f3_disco stm32l562e_dk disco_l475_iot1
sample.drivers.watchdog.stm32_iwdg:
extra_args: DTC_OVERLAY_FILE=boards/stm32_iwdg.overlay
filter: dt_compat_enabled("st,stm32-watchdog")
platform_allow: b_u585i_iot02a nucleo_f091rc nucleo_f103rb nucleo_f207zg nucleo_f429zi
nucleo_f746zg nucleo_g071rb nucleo_g474re nucleo_h743zi nucleo_l073rz nucleo_l152re
nucleo_wb55rg nucleo_wl55jc stm32f3_disco stm32l562e_dk disco_l475_iot1
sample.drivers.watchdog.gd32_fwdgt:
filter: dt_has_compat("gd,gd32-fwdgt")
extra_args: DTC_OVERLAY_FILE=boards/gd32_fwdgt.overlay
platform_allow: gd32e103v_eval gd32e507v_start gd32f350r_eval gd32f403z_eval
gd32f450i_eval gd32f450z_eval gd32f470i_eval gd32vf103c_starter gd32vf103v_eval
longan_nano
sample.drivers.watchdog.gd32_wwdgt:
filter: dt_has_compat("gd,gd32-wwdgt")
extra_args: DTC_OVERLAY_FILE=boards/gd32_wwdgt.overlay
platform_allow: gd32e103v_eval gd32e507v_start gd32f350r_eval gd32f403z_eval
gd32f450i_eval gd32f450z_eval gd32f470i_eval gd32vf103c_starter gd32vf103v_eval
longan_nano