Skip to content

Commit

Permalink
zephyr: print version number before boot
Browse files Browse the repository at this point in the history
Signed-off-by: Toon Stegen <[email protected]>
  • Loading branch information
Toon Stegen authored and toonst committed May 8, 2024
1 parent d4394c2 commit 5ef52d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boot/zephyr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,9 @@ int main(void)

BOOT_LOG_INF("Bootloader chainload address offset: 0x%x",
rsp.br_image_off);
BOOT_LOG_INF("Image version: v%d.%d.%d", rsp.br_hdr->ih_ver.iv_major,
rsp.br_hdr->ih_ver.iv_minor,
rsp.br_hdr->ih_ver.iv_revision);

#if defined(MCUBOOT_DIRECT_XIP)
BOOT_LOG_INF("Jumping to the image slot");
Expand Down

0 comments on commit 5ef52d9

Please sign in to comment.