Go Down

Topic: mkrGSM1400 and watchdog (Read 468 times) previous topic - next topic

salvaleofiq

Feb 08, 2018, 08:40 am Last Edit: Feb 08, 2018, 08:56 am by salvaleofiq
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

 #include <Adafruit_ASFcore.h>


Any suggestion?
Thanks in  advance.
Leonardo.

ballscrewbob

#1
Feb 08, 2018, 02:46 pm Last Edit: Feb 08, 2018, 02:46 pm by ballscrewbob
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.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

ellokah

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?

Go Up