News for hackers. Stuff that matters.
Re:Use This Kernel Parameter in Your Kiosk by ilyt on Saturday November 19, 2022 @04:55AM (#33668717)
There is a caveat here, it won't stop your app from crashing before the watchdog activation. Some CPUs have fuse that can enable watchdog before any code starts running but the ARMs I played with (STM32) don't appear to have that option.
Re:Use This Kernel Parameter in Your Kiosk by shabble on Saturday November 19, 2022 @08:44AM (#33669973)
At least some STM32s do, see page 89 of the STM32F4xx reference manual[1], the option bits 5:7 at 0x1fffc000 let you activate the hardware watchdog immediately following reset if you wish.

[1] https://www.st.com/resource/en/reference_manual/rm0090-stm32...