mklittlefs
« Back to VersTracker
Description:
Creates LittleFS images for ESP8266, ESP32, Pico RP2040, and RP2350
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: embedded littlefs filesystem iot firmware
Install: brew install mklittlefs
About:
Mklittlefs is a command-line utility used to create LittleFS filesystem images for embedded devices. It allows developers to package files and directories into a binary image that can be flashed directly to the flash memory of microcontrollers like the ESP32 or Raspberry Pi Pico. This tool is essential for provisioning devices with web assets, configuration files, or firmware resources.
Key Features:
  • Cross-platform support for ESP8266, ESP32, RP2040, and RP2350
  • Configurable block size, cache size, and lookahead buffer
  • Generates LittleFS v2 compatible images
  • Simple CLI interface for easy integration into build systems
Use Cases:
  • Embedding web server assets (HTML, CSS, JS) into IoT device firmware
  • Provisioning devices with initial configuration files
  • Creating read-only data partitions for embedded applications
Alternatives:
  • mkespfsimage – Older tool specific to ESP8266, uses SPIFFS instead of LittleFS
  • mkspiffs – Creates SPIFFS images, an older filesystem standard compared to LittleFS
Version History
Detected Version Rev Change Commit
Sep 16, 2025 5:47am 0 VERSION_BUMP 8d65c3ba