Skip to content

Commit b9d69dd

Browse files
toonstnordicjm
authored andcommitted
zephyr: print version number before boot
Signed-off-by: Toon Stegen <[email protected]>
1 parent 08a71d1 commit b9d69dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

boot/zephyr/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,10 @@ int main(void)
553553
rsp.br_image_off);
554554
#endif
555555

556+
BOOT_LOG_INF("Image version: v%d.%d.%d", rsp.br_hdr->ih_ver.iv_major,
557+
rsp.br_hdr->ih_ver.iv_minor,
558+
rsp.br_hdr->ih_ver.iv_revision);
559+
556560
#if defined(MCUBOOT_DIRECT_XIP)
557561
BOOT_LOG_INF("Jumping to the image slot");
558562
#else

0 commit comments

Comments
 (0)