Skip to content

LittleFS is not safe from interruptions #21

@bradanlane

Description

@bradanlane

If the LittleFS operations are interrupted- for example by the LEDs processing thread - the file system will become corrupted.

One solution is to ...

  1. set the halt flag and then wait some number of milliseconds to insure the LEDs processing thread has finished and looped around again
  2. perform the necessary operations with LittleFS
  3. restore the halt flag to allow LEDs processing to continue

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions