Rebooting to the bootloader has proven very useful on several occasions, so I'm not sure it's a good idea to compromise that functionality.
I'm also not familiar enough with the bare metal code of Bangle.js 2 to make a meaningful suggestion for a watchdog functionality. (Previous experiences with an Espruino Pico gave me the watchdog functionality I'd expect, but in a Bangle.js 2 it is probably far more complex to ensure reboot and BLE accessibility at all times.)
Conclusion : for now, I'll take the risk of running my firmware without a 'high level' watchdog. I will see how this turns out (the Bangle.js 2 is after all not completely headless, the user can press the button for 3 seconds and force a re-load himself.)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Rebooting to the bootloader has proven very useful on several occasions, so I'm not sure it's a good idea to compromise that functionality.
I'm also not familiar enough with the bare metal code of Bangle.js 2 to make a meaningful suggestion for a watchdog functionality. (Previous experiences with an Espruino Pico gave me the watchdog functionality I'd expect, but in a Bangle.js 2 it is probably far more complex to ensure reboot and BLE accessibility at all times.)
Conclusion : for now, I'll take the risk of running my firmware without a 'high level' watchdog. I will see how this turns out (the Bangle.js 2 is after all not completely headless, the user can press the button for 3 seconds and force a re-load himself.)
Thanks.