Skip to content

Release 4.0.0 - LittleFS updates, Mac M1/ARM support

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jun 19:34
· 3 commits to master since this release

TWO POTENTIALLY BREAKING CHANGES

  1. LittleFS has been upgraded from 2.5.1 to the latest 2.9.3 release. At release 2.6.0 the on-flash format for LittleFS changed. LittleFS >= 2.6.0 can read 2.5.0 formats but not vice-versa.
  • If you have not upgraded the LittleFS on your system to 2.6.0 or later, please stick with earlier releases of this package or you will be unable to use the generated filesystems.
  1. LFS_NAME_MAX set to 255, the default. It was set in prior releases to 32 for ESP8266 memory reasons but since that platform is EOL there's no reason to limit names so severely.
  • If your code is already setting LFS_NAME_MAX to 255, or you don't set it at all (and hence it will default to 255) then this change is a no-op.
  • If your code, like on the ESP8266 and older Arduino-Pico releases, does set this define to 32 then, again, the filesystem will not be usable onboard. The fix is to set the constant to 255 (at the same time as updating your LittleFS release)

New binaries

Binaries are now built using GitHub actions and runners, and include ARM-based Mac (M1/M2/M3...) builds.

What's Changed

  • Use snprintf instead of sprintf for security reasons by @uztbt #39
  • Follow littlefs file name spec, update for compiling for c++ 20, update gitignore for binaries by @Szybet #43
  • BREAKING: Move to latest LittleFS release, v2.9.3 by @earlephilhower #44

New Contributors

Full Changelog: 3.2.0...4.0.0