This article shows how to create a simple environmental logger using the DHT20 sensor and store the data on a little_fs filesystem on the module’s flash memory.
Learn what the ESP-IDF SPIFFS component is, how it works with the VFS layer and standard C file APIs, and how to use the SPIFFSgen tool to embed files. This article is a practical guide with references to the official example.