Skip to content

Commit 210b318

Browse files
committed
boot/zephyr: feed watchdog at the start
Added call to the watchdog feed macro at the MCUBoot's main() beginning. Signed-off-by: Andrzej Puzdrowski <[email protected]>
1 parent d21442a commit 210b318

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

boot/zephyr/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ void main(void)
313313
int rc;
314314
fih_int fih_rc = FIH_FAILURE;
315315

316+
MCUBOOT_WATCHDOG_FEED();
317+
316318
BOOT_LOG_INF("Starting bootloader");
317319

318320
os_heap_init();

0 commit comments

Comments
 (0)