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      - panb511evb/nrf54l15/cpuapp
26      - panb511evb/nrf54l15/cpuflpr
27      - panb511evb/nrf54l15/cpuflpr/xip
28  sample.drivers.watchdog.stm32_wwdg:
29    extra_args: DTC_OVERLAY_FILE=boards/stm32_wwdg.overlay
30    filter: dt_compat_enabled("st,stm32-window-watchdog")
31    platform_allow:
32      - b_u585i_iot02a
33      - nucleo_c031c6
34      - nucleo_f091rc
35      - nucleo_f103rb
36      - nucleo_f207zg
37      - nucleo_f429zi
38      - nucleo_f746zg
39      - nucleo_g071rb
40      - nucleo_g474re
41      - nucleo_l073rz
42      - nucleo_l152re
43      - nucleo_wb55rg
44      - nucleo_wl55jc
45      - stm32f3_disco
46      - stm32l562e_dk
47      - disco_l475_iot1
48      - stm32h573i_dk
49    integration_platforms:
50      - nucleo_f103rb
51  sample.drivers.watchdog.stm32h7_wwdg:
52    extra_args: DTC_OVERLAY_FILE=boards/stm32h7_wwdg.overlay
53    filter: dt_compat_enabled("st,stm32-window-watchdog")
54    # filter CONFIG_SOC_SERIES_STM32H7X and dt_compat_enabled
55    # seems to ignore extra_args
56    platform_allow:
57      - nucleo_h723zg
58      - nucleo_h745zi_q/stm32h745xx/m4
59      - nucleo_h743zi
60      - stm32h735g_disco
61      - nucleo_h753zi
62      - stm32h750b_dk
63      - stm32h7b3i_dk
64      - stm32h745i_disco/stm32h745xx/m4
65      - nucleo_h755zi_q/stm32h755xx/m4
66      - stm32h747i_disco/stm32h747xx/m4
67    integration_platforms:
68      - nucleo_h743zi
69  sample.drivers.watchdog.stm32_iwdg:
70    extra_args: DTC_OVERLAY_FILE=boards/stm32_iwdg.overlay
71    filter: dt_compat_enabled("st,stm32-watchdog")
72    platform_allow:
73      - b_u585i_iot02a
74      - nucleo_c031c6
75      - nucleo_f091rc
76      - nucleo_f103rb
77      - nucleo_f207zg
78      - nucleo_f429zi
79      - nucleo_f746zg
80      - nucleo_g071rb
81      - nucleo_g474re
82      - nucleo_h743zi
83      - nucleo_l073rz
84      - nucleo_l152re
85      - nucleo_wb55rg
86      - nucleo_wl55jc
87      - stm32f3_disco
88      - stm32l562e_dk
89      - disco_l475_iot1
90      - stm32h573i_dk
91    integration_platforms:
92      - nucleo_f103rb
93  sample.drivers.watchdog.gd32_fwdgt:
94    filter: dt_compat_enabled("gd,gd32-fwdgt")
95    extra_args: DTC_OVERLAY_FILE=boards/gd32_fwdgt.overlay
96    platform_allow:
97      - gd32e103v_eval
98      - gd32e507v_start
99      - gd32f350r_eval
100      - gd32f403z_eval
101      - gd32f450i_eval
102      - gd32f450z_eval
103      - gd32f470i_eval
104      - gd32vf103c_starter
105      - gd32vf103v_eval
106      - longan_nano
107    integration_platforms:
108      - gd32e103v_eval
109  sample.drivers.watchdog.gd32_wwdgt:
110    filter: dt_compat_enabled("gd,gd32-wwdgt")
111    extra_args: DTC_OVERLAY_FILE=boards/gd32_wwdgt.overlay
112    platform_allow:
113      - gd32e103v_eval
114      - gd32e507v_start
115      - gd32f350r_eval
116      - gd32f403z_eval
117      - gd32f450i_eval
118      - gd32f450z_eval
119      - gd32f470i_eval
120      - gd32vf103c_starter
121      - gd32vf103v_eval
122      - longan_nano
123    integration_platforms:
124      - gd32e103v_eval
125  sample.drivers.watchdog.s32z270dc2_r52:
126    build_only: true
127    platform_allow:
128      - s32z2xxdc2/s32z270/rtu0
129      - s32z2xxdc2/s32z270/rtu1
130      - s32z2xxdc2@D/s32z270/rtu0
131      - s32z2xxdc2@D/s32z270/rtu1
132    integration_platforms:
133      - s32z2xxdc2/s32z270/rtu0
134