Dear all, I would to try the feature of the watchdog, but I don't found any solution for the MKRGSM.
The library Adafruit_SleepyDog.h doesn't compiling:
Adafruit_SleepyDog_Library\utility\WatchdogSAMD.cpp:9:30: fatal error: Adafruit_ASFcore.h: No such file or directory
Thanks in advance.
A lot of libraries are AVR specific.
To use them with the MKR they also need to be SAMD compliant for the better MCU.
Sleepydog is quite an old lib.
The MKR is RTC capable and some have had success with the RTCZERO library.
There are others too that are SAMD compliant.
I successfully used the sleepy dog lib from adafruit with my MKR 1400. Actually I modified it a bit to use the EARLY WARNING ISR for non sleeping mode too.
Did you installed the Adafruit_ASFcore lib as well on your IDE, because the sleepy dog lib depends on it?