Arduino DUE, I cannot find watchdog disabling.

Hi, I am reading in some topics on this forum, that the variant.cpp file disables the watchdog but I cannot find it in my variant.cpp.

I am using platformio and I just cannot find where the watchdog is disabled, so that I can comment it out and enable it myself.

Does anyone knows? Thanks.

Watchdog stuff has been moved; see watchdog.* and main.cpp under cores/arduino/.

As you said, I found it in .platformio\packages\framework-arduinosam\cores\sam\main.cpp
and watchdog.cpp in

Where the default function is implemented as weak.
So I can make my own watchdogSetup in my file normally :).

Thanks again.

Search with your favorite search engine, look for watchdog arduino due to find an example sketch to enable watchdog