Share Companion hardware diagnostics and protect RXEN reconfiguration

This commit is contained in:
mikecarper committed 2026-10-23 08:57:51 -07:00
1 parent 04c4fdb240
commit 807343de8d
28 files changed
+1393 -277

No files matched your search

+7
View File
@@ -370,6 +370,13 @@ void NRF52Board::serviceWatchdog() {
#endif
}
bool NRF52Board::getSystemWatchdogRunning(bool& running) const {
// Read even if this build's feed policy is disabled: a bootloader can leave
// a watchdog running. The query must describe the hardware, not a preference.
running = NRF_WDT->RUNSTATUS != 0;
return true;
}
#ifdef NRF52_POWER_MANAGEMENT
// Power Management global variables
uint32_t g_nrf52_reset_reason = 0; // Reset/Startup reason