Commit 210b3180 authored by Andrzej Puzdrowski's avatar Andrzej Puzdrowski
Browse files

boot/zephyr: feed watchdog at the start



Added call to the watchdog feed macro at the
MCUBoot's main() beginning.

Signed-off-by: default avatarAndrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
parent d21442a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -313,6 +313,8 @@ void main(void)
    int rc;
    fih_int fih_rc = FIH_FAILURE;

    MCUBOOT_WATCHDOG_FEED();

    BOOT_LOG_INF("Starting bootloader");

    os_heap_init();