ConfigStorage is a library for the ESP32/ESP8266 Arduino platform to store configuration parameters in the file system using LittleFS or SPIFFS. Using the ArduinoJson library the parameters are stored in memory as a JSON document and saved as a JSON file.
- Changelog
- Prerequisites
- Installation
- HOWTO Usage
- Examples
- Debug
- Troubleshooting
- Issues
- TO DO
- DONE
- License
- Copyright
Arduino IDE 1.8.19+for Arduino.ESP32 Core 2.0.2+for ESP32-based boards.ESP8266 Core 3.0.2+for ESP8266-based boards.. SPIFFS is deprecated from ESP8266 core 2.7.1+, to use LittleFS.
LittleFS_esp32 v1.0.6+for ESP32-based boards using LittleFS with ESP32 core v1.0.5-. To install, check. Notice: This
LittleFS_esp32 libraryhas been integrated to Arduino ESP32 core v1.0.6+ and you don't need to install it if using ESP32 core v1.0.6+ArduinoJson v6.19.4+for embedded C++. To install, check.
The best and easiest way is to use Arduino Library Manager. Search for ConfigStorage, then select / install the latest version. You can also use this link for more detailed instructions.
- Navigate to ConfigStorage page.
- Download the latest release
ConfigStorage-main.zip. - Extract the zip file to
ConfigStorage-maindirectory - Copy the whole
ConfigStorage-mainfolder to Arduino libraries' directory such as~/Arduino/libraries/.
- Install VS Code
- Install PlatformIO
- Install ConfigStorage library by using Library Manager. Search for ConfigStorage in Platform.io Author's Libraries
- Use included platformio.ini file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at Project Configuration File