sl-firmware d2ee8e78eb feat: Add watchdog timer driver for MCU health monitoring (Issue #300)
Implements STM32 IWDG (Independent Watchdog) driver with:
- Configurable timeout (1ms - 32s range, default 2 seconds)
- Prescaler/reload calculation for accurate timeout values
- watchdog_kick() to reset counter from main loop
- Detection of watchdog-caused resets via RCC_CSR flags
- Full unit test suite (37 assertions, all passing)

The watchdog timer helps detect Jetson communication stalls by forcing
an MCU reset if the watchdog is not regularly kicked.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-02 21:12:18 -05:00
2026-02-28 11:58:23 -05:00
2026-02-28 11:58:23 -05:00
Description
SaltyLab self-balancing bot firmware (STM32F722)
11 MiB
Languages
Python 67.1%
C 11.4%
JavaScript 9.2%
OpenSCAD 7.8%
HTML 1.5%
Other 2.9%