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

Missing boot2 should trigger error message #24

Open
jannic opened this issue Jan 14, 2023 · 0 comments
Open

Missing boot2 should trigger error message #24

jannic opened this issue Jan 14, 2023 · 0 comments

Comments

@jannic
Copy link
Member

jannic commented Jan 14, 2023

While doing some experiments, I accidentally removed the code which includes boot2 into the firmware (pub static BOOT2_FIRMWARE: [u8; 256] = ...)

This didn't cause any warning. The resulting firmware just contained zeros where boot2 should have been. Needless to say that the firmware didn't boot.

In hindsight this is obvious, but at first I had no idea what went wrong. It would be nice if the build could fail in this case, or at least print a warning.

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

No branches or pull requests

1 participant