boards: arm: Add wdog support on mimxrt595_evk
Add watchdog support to the mimxrt595 platform. The mimxrt595 platform is excluded from the watchdog test case because the test case uses variables in the noinit section that need to be retained through a reset but the rt595 does not retain this memory through a reset. Signed-off-by: Chay Guo <changyi.guo@nxp.com>
This commit is contained in:
parent
fdca36e1cc
commit
c846537820
6 changed files with 14 additions and 2 deletions
|
@ -80,7 +80,7 @@ static int mcux_wwdt_install_timeout(const struct device *dev,
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_SOC_MIMXRT685S_CM33)
|
||||
#if defined(CONFIG_SOC_MIMXRT685S_CM33) || defined(CONFIG_SOC_MIMXRT595S_CM33)
|
||||
clock_freq = CLOCK_GetWdtClkFreq(0);
|
||||
#else
|
||||
const struct mcux_wwdt_config *config = dev->config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue