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:
parent
7cb3f47ae9
commit
c4b5b28103
|
@ -0,0 +1,5 @@
|
|||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
&wwdt {
|
||||
status = "okay";
|
||||
};
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue