tests: drivers: watchdog: wdt_basic_api: support numaker_pfm_m467

Add support for Nuvoton numaker board numaker_pfm_m467.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
This commit is contained in:
cyliang tw 2024-01-29 09:42:10 +08:00 committed by Carles Cufí
parent 7cb3f47ae9
commit c4b5b28103
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */
&wwdt {
status = "okay";
};

View file

@ -98,6 +98,9 @@
#define WDT_NODE DT_INST(0, gd_gd32_fwdgt)
#elif DT_HAS_COMPAT_STATUS_OKAY(zephyr_counter_watchdog)
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(zephyr_counter_watchdog)
#elif DT_HAS_COMPAT_STATUS_OKAY(nuvoton_numaker_wwdt)
#define WDT_NODE DT_INST(0, nuvoton_numaker_wwdt)
#define TIMEOUTS 1
#elif DT_HAS_COMPAT_STATUS_OKAY(andestech_atcwdt200)
#define WDT_NODE DT_INST(0, andestech_atcwdt200)
#define TIMEOUTS 0