1sample:
2  name: Watchdog Driver Sample
3common:
4  tags:
5    - drivers
6    - watchdog
7  harness: console
8  harness_config:
9    type: multi_line
10    ordered: true
11    regex:
12      - "Watchdog sample application"
13      - "Feeding watchdog..."
14      - "Waiting for reset..."
15      - "Watchdog sample application"
16  depends_on: watchdog
17tests:
18  sample.drivers.watchdog:
19    filter: not (CONFIG_SOC_FAMILY_STM32 or CONFIG_SOC_FAMILY_GD_GD32 or SOC_SERIES_GD32VF103)
20    platform_exclude:
21      - s32z2xxdc2/s32z270/rtu0
22      - s32z2xxdc2/s32z270/rtu1
23      - s32z2xxdc2@D/s32z270/rtu0
24      - s32z2xxdc2@D/s32z270/rtu1
25  sample.drivers.watchdog.stm32_wwdg:
26    extra_args: DTC_OVERLAY_FILE=boards/stm32_wwdg.overlay
27    filter: dt_compat_enabled("st,stm32-window-watchdog")
28    platform_allow:
29      - b_u585i_iot02a
30      - nucleo_c031c6
31      - nucleo_f091rc
32      - nucleo_f103rb
33      - nucleo_f207zg
34      - nucleo_f429zi
35      - nucleo_f746zg
36      - nucleo_g071rb
37      - nucleo_g474re
38      - nucleo_l073rz
39      - nucleo_l152re
40      - nucleo_wb55rg
41      - nucleo_wl55jc
42      - stm32f3_disco
43      - stm32l562e_dk
44      - disco_l475_iot1
45      - stm32h573i_dk
46    integration_platforms:
47      - nucleo_f103rb
48  sample.drivers.watchdog.stm32h7_wwdg:
49    extra_args: DTC_OVERLAY_FILE=boards/stm32h7_wwdg.overlay
50    filter: dt_compat_enabled("st,stm32-window-watchdog")
51    # filter CONFIG_SOC_SERIES_STM32H7X and dt_compat_enabled
52    # seems to ignore extra_args
53    platform_allow:
54      - nucleo_h723zg
55      - nucleo_h745zi_q/stm32h745xx/m4
56      - nucleo_h743zi
57      - stm32h735g_disco
58      - nucleo_h753zi
59      - stm32h750b_dk
60      - stm32h7b3i_dk
61      - stm32h745i_disco/stm32h745xx/m4
62      - nucleo_h755zi_q/stm32h755xx/m4
63      - stm32h747i_disco/stm32h747xx/m4
64    integration_platforms:
65      - nucleo_h743zi
66  sample.drivers.watchdog.stm32_iwdg:
67    extra_args: DTC_OVERLAY_FILE=boards/stm32_iwdg.overlay
68    filter: dt_compat_enabled("st,stm32-watchdog")
69    platform_allow:
70      - b_u585i_iot02a
71      - nucleo_c031c6
72      - nucleo_f091rc
73      - nucleo_f103rb
74      - nucleo_f207zg
75      - nucleo_f429zi
76      - nucleo_f746zg
77      - nucleo_g071rb
78      - nucleo_g474re
79      - nucleo_h743zi
80      - nucleo_l073rz
81      - nucleo_l152re
82      - nucleo_wb55rg
83      - nucleo_wl55jc
84      - stm32f3_disco
85      - stm32l562e_dk
86      - disco_l475_iot1
87      - stm32h573i_dk
88    integration_platforms:
89      - nucleo_f103rb
90  sample.drivers.watchdog.gd32_fwdgt:
91    filter: dt_compat_enabled("gd,gd32-fwdgt")
92    extra_args: DTC_OVERLAY_FILE=boards/gd32_fwdgt.overlay
93    platform_allow:
94      - gd32e103v_eval
95      - gd32e507v_start
96      - gd32f350r_eval
97      - gd32f403z_eval
98      - gd32f450i_eval
99      - gd32f450z_eval
100      - gd32f470i_eval
101      - gd32vf103c_starter
102      - gd32vf103v_eval
103      - longan_nano
104    integration_platforms:
105      - gd32e103v_eval
106  sample.drivers.watchdog.gd32_wwdgt:
107    filter: dt_compat_enabled("gd,gd32-wwdgt")
108    extra_args: DTC_OVERLAY_FILE=boards/gd32_wwdgt.overlay
109    platform_allow:
110      - gd32e103v_eval
111      - gd32e507v_start
112      - gd32f350r_eval
113      - gd32f403z_eval
114      - gd32f450i_eval
115      - gd32f450z_eval
116      - gd32f470i_eval
117      - gd32vf103c_starter
118      - gd32vf103v_eval
119      - longan_nano
120    integration_platforms:
121      - gd32e103v_eval
122  sample.drivers.watchdog.s32z270dc2_r52:
123    build_only: true
124    platform_allow:
125      - s32z2xxdc2/s32z270/rtu0
126      - s32z2xxdc2/s32z270/rtu1
127      - s32z2xxdc2@D/s32z270/rtu0
128      - s32z2xxdc2@D/s32z270/rtu1
129    integration_platforms:
130      - s32z2xxdc2/s32z270/rtu0
131