File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ - Watchdog support in Zephyr has been reworked and fixed to allow
2+ installing a timeout (with a configurable value) before starting
3+ it. The default timeout is set to 1 minute and this feature has
4+ been enabled by default. 3 Kconfig options have been added which
5+ control how the watchdog is used in MCUboot:
6+
7+ * `` CONFIG_BOOT_WATCHDOG_SETUP_AT_BOOT `` controls setting up
8+ the watchdog in MCUboot (if not set up, it can still be set,
9+ if the driver supports this non-compliant behaviour).
10+ * `` CONFIG_BOOT_WATCHDOG_INSTALL_TIMEOUT_AT_BOOT `` controls if
11+ a timeout is installed at bootup or not.
12+ * `` CONFIG_BOOT_WATCHDOG_TIMEOUT_MS `` sets the value of the
13+ timeout in ms.
14+
15+ - In addition, Zephyr modules can now over-ride the default
16+ watchdog functionality by replacing the weakly defined functions
17+ `` mcuboot_watchdog_setup `` and/or `` mcuboot_watchdog_feed `` ,
18+ these functions take no arguments.
19+
You can’t perform that action at this time.
0 commit comments