Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zephyr: print version number before boot #1957

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

toonst
Copy link
Contributor

@toonst toonst commented May 8, 2024

Before booting, It might be handy to see the version of the image we boot into.

@de-nordic de-nordic requested a review from d3zd3z June 5, 2024 13:47
@@ -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,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be configurable, because we start to take extra space with things that will be rarely viewed by anyone.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would imagine those concerned deeply about space will have logging off anyway. I'd hate to see yet another ifdef in the code just for this.

@nordicjm
Copy link
Collaborator

Rebase needed

@toonst
Copy link
Contributor Author

toonst commented Oct 14, 2024

Rebased

@nordicjm nordicjm merged commit b9d69dd into mcu-tools:main Oct 14, 2024
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants