Description
I recently encountered an issue with my Adafruit Feather M0-based board (SAMD21) when combining LMIC with RTCZero (same combo I have used successfully for two years). Essentially, RTCZero is used to sleep in-between Lorawan transmits.
It seems there is an issue with the combination of LMIC v3.2 (or later) and RTCZero 1.6.0. It's a bit sneaky, as if you test each library's functionality individually, everything functions correctly. However, when combined, the device becomes unresponsive (seemingly stuck in sleep, and does not emerge back to life) about a day of sleeps (at transmits every 15s, for testing reproducing purposes).
See cross-posted issue at LMIC: mcci-catena/arduino-lmic#588
tl;dr: It seems that downgrading RTCZero from 1.6.0 -> 1.5.2 solved the problem without breaking anything. Does this ring a bell for anyone?
Please note that in the LMIC issue, I note that the millis() values eventually turn negative. That is no longer happening with 1.5.2.