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

Add error for cases when we cant read the serial monitor trying to decode the bootmode #572

Merged
merged 4 commits into from
Feb 3, 2024

Conversation

SergioGasquez
Copy link
Member

In some (weird cases), like flashing a 26MHz C2 instead of 40Mhz target, #570 would happen. It should be an error, but the error should mean something, so I just added a custom error for the case.

@SergioGasquez SergioGasquez linked an issue Feb 3, 2024 that may be closed by this pull request
@SergioGasquez SergioGasquez added the skip-changelog Skips the changelog CI check label Feb 3, 2024
espflash/src/error.rs Outdated Show resolved Hide resolved
Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@MabezDev MabezDev merged commit 8f43cc4 into esp-rs:main Feb 3, 2024
20 checks passed
@SergioGasquez SergioGasquez deleted the fix/wrong-chip branch February 3, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Skips the changelog CI check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flashing a chip with different xtal freq resutls in a panic
2 participants