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

Tolerate some non-utf8 data when detecting boot mode over serial #573

Merged
merged 2 commits into from
Feb 5, 2024

Commits on Feb 3, 2024

  1. Tolerate some non-utf8 data when detecting boot mode over serial

    My ESP32-WROOM is sending some non-utf8 data just after reset, causing boot
    mode detection to fail.
    
    This commit uses `String::from_utf8_lossy` to ignore these bytes.
    
    Tested on macOS, boards: ESP32-WROOM-32, ESP32-WROOM-32D, ESP32-C3-MINI-1,
    ESP32-C3-12F.
    kcking committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    49fbde9 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Configuration menu
    Copy the full SHA
    0a1577f View commit details
    Browse the repository at this point in the history