boards: nxp: frdm_mcxn947: Enabled Watchdog
Enabled the watchdog for frdm_mcxn947 board. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
dbd1da973b
commit
dc1ad210cb
4 changed files with 15 additions and 0 deletions
|
@ -162,6 +162,10 @@ static int frdm_mcxn947_init(void)
|
|||
SYSCON->ENET_PHY_INTF_SEL = SYSCON_ENET_PHY_INTF_SEL_PHY_SEL(1);
|
||||
#endif
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(wwdt0), okay)
|
||||
CLOCK_SetClkDiv(kCLOCK_DivWdt0Clk, 1u);
|
||||
#endif
|
||||
|
||||
/* Set SystemCoreClock variable. */
|
||||
SystemCoreClock = CLOCK_INIT_CORE_CLOCK;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue