Skip to content

feat(nrf52): hardware watchdog for repeaters - #3210

Open
benallfree wants to merge 1 commit into
meshcore-dev:devfrom
MeshEnvy:feature/nrf52-watchdog
Open

feat(nrf52): hardware watchdog for repeaters#3210
benallfree wants to merge 1 commit into
meshcore-dev:devfrom
MeshEnvy:feature/nrf52-watchdog

Conversation

@benallfree

@benallfree benallfree commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

This PR adds optional nRF52 hardware watchdog support for repeaters. It could be similarly extended to room servers, etc.

I saw a few other WDT implementations but decided to roll my own that was more configurable and testable.

  • NRF52Board: configure/feed the SoC WDT, expose reset reason on all nRF52 boards (not only NRF52_POWER_MANAGEMENT builds)
  • Repeater prefs: wdt_en (default on), wdt_timeout (default 30 s)
  • CLI: watchdog, watchdog on/off, watchdog timeout, watchdog status, watchdog lockup (bench test)
  • Main loop feeds the WDT via board.loop()

WDT pauses in sleep/halt per Nordic defaults. Timeout changes require reboot.

Prior art:

Co-authored-by: Cursor <cursoragent@cursor.com>
@benallfree
benallfree marked this pull request as ready for review August 14, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant