Skip to content

v2.0.0

Compare
Choose a tag to compare
@fhunleth fhunleth released this 07 Nov 00:36
· 31 commits to main since this release

This is a major update to Nerves Heart.

  • Changes
    • BREAKING: the informational attribute names changed to clarify whether they
      came from the watchdog timer device driver or Nerves heart
    • Added an optional initialization handshake to protect against
      :heart.set_callback/2 not being run and an issue going undetected.
    • Added support for guarded reboot and poweroff requests. These work similar
      to the reboot and poweroff shell commands, but stop petting the watchdog
      as well. This protects against rare reboot/poweroff hangs.
    • Pet the hardware watchdog before exiting to reduce the chance of it
      rebooting the system early due to unlucky timing from the previous pet.
    • Remove hardcoded hardware watchdog pet time and calculate based on actual
      timeout value.