bump watchdog timer to a longer interval

This commit is contained in:
bunnie 2023-01-06 17:46:18 +08:00
parent 02ffa530f6
commit 0f0b51c779
2 changed files with 2 additions and 0 deletions

View file

@ -310,6 +310,7 @@ perform the Xous firmware upgrade. This requires running manual update commands,
- Reduced kernel code size by about 737kiB (10%) by restoring lto=`fat` and pushing FFT test code onto the tester. Note that any users who wish to write code that relies on built-in floating point transcendental functions will have to restore lto=`thin`, at least until https://github.com/rust-lang/rust/issues/105734 is resolved.
- `bip-utils` dependency removed from Python packages. This allows `backalyzer` and `precursorupdater` to run on older platforms that don't have the latest-greatest Python. A hand-rolled BIP-39 word-to-bits converter is used instead.
- More optimizations to `vault` passwords path. Records are re-used instead of re-allocated if they don't change. This should speedup switching to `vault` passwords by about 2x after the very first time the records are loaded (the first time will take longer because the records have to be built up).
- Extend watchdog reset time to ~30s from 7s, to enable easier guru meditation reporting.
## Roadmap
- Lots of testing and bug fixes

View file

@ -140,6 +140,7 @@ mod implementation {
#[cfg(feature = "watchdog")]
{
xtt.wdt.wfo(utra::wdt::PERIOD_PERIOD, 0x7FFF_FFFF); // about 30 seconds +/- 50%
xtt.wdt.wfo(utra::wdt::WATCHDOG_ENABLE, 1);
// this is a write-once field that is lost later on, so it must be explicitly managed
// xtt.wdt_sr_manager.push(RegOrField::Field(utra::wdt::WATCHDOG_ENABLE), None);