mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-24 19:12:38 +00:00
fix(littlefs): Allow LittleFS image generation on Windows + version bump (v5.2) See merge request espressif/esp-idf!34917
Storage Examples
Storage and management of user and system data in module’s flash and on external memory / devices. This directory contains a range of examples ESP-IDF projects. These are intended to demonstrate the storage features, and to provide code that you can copy and adapt into your own projects.
Example Layout
The examples are grouped into sub-directories by category. Each category directory contains one or more example projects:
custom_flash_driverexample demonstrates how to implement your own flash chip driver by overriding the default driver.emmcexample demonstrates how to use an eMMC chip with an ESP device.ext_flash_fatfsexample demonstrates how to use FATFS partition with external SPI FLASH chip.fatfsgenexample demonstrates how to use FATFS partitionnvs_rw_blobexample demonstrates how to read and write a single integer value and a blob (binary large object) using NVS to preserve them between ESP module restarts.nvs_rw_valueexample demonstrates how to read and write a single integer value using NVS.nvs_rw_value_cxxexample demonstrates how to read and write a single integer value using NVS (it uses the C++ NVS handle API).partition_apiexamples demonstrate how to use different partition APIs.parttoolexample demonstrates common operations the partitions tool allows the user to perform.sd_cardexamples demonstrate how to use an SD card with an ESP device.semihost_vfsexample demonstrates how to use semihosting VFS driver with ESP device.spiffsexample demonstrates how to use SPIFFS with ESP device.spiffsgenexample demonstrates how to use the SPIFFS image generation tool spiffsgen.py to automatically create a SPIFFS.wear_levellingexample demonstrates how to use wear levelling library and FATFS library to store files in a partition inside SPI flash.
More
See the README.md file in the upper level examples directory for more information about examples.