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

Don't crash when includeing LittleFS.h w/no FS #8173

Merged
merged 2 commits into from
Jun 25, 2021

Commits on Jun 25, 2021

  1. Don't crash when includeing LittleFS.h w/no FS

    The LittleFS constructor could cause a divide-by-zero error and crash the
    chip during pre-main startup (i.e. when the constructors were called).
    
    Avoid by only initializing the LittleFS control structure when there is
    a filesystem specified in the flash layout.
    earlephilhower committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    276774e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90deac2 View commit details
    Browse the repository at this point in the history