- Detect if MCU was reset by IWDG watchdog timeout at startup - Log watchdog reset events to debug terminal (USB CDC) - Store watchdog reset flag for status reporting to Jetson - Watchdog timer configured with 2-second timeout in safety_init() - Main loop calls safety_refresh() to kick the watchdog every iteration The IWDG (Independent Watchdog) resets the MCU if the main loop hangs and fails to call safety_refresh() within the timeout window. This provides hardware-enforced detection of software failures. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Description
SaltyLab self-balancing bot firmware (STM32F722)
Languages
Python
67.1%
C
11.4%
JavaScript
9.2%
OpenSCAD
7.8%
HTML
1.5%
Other
2.9%