You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having two methods to read/parse/store configuration (EEPROM and JSON) is error-prone (de-synchronized), and increases maintenance costs. See discussion in #216.
Thus, it makes sense to store (at least) user-configurable data in /config.json, and to stop using the (fake) EEPROM ... especially as that only writes to a single sector (burn out the flash sector). LittleFS has more overhead, but as reading / updating the configuration is not a performance-sensitive operation, the benefits in maintainability will likely outweigh the downsides.
The text was updated successfully, but these errors were encountered:
Having two methods to read/parse/store configuration (EEPROM and JSON) is error-prone (de-synchronized), and increases maintenance costs. See discussion in #216.
Thus, it makes sense to store (at least) user-configurable data in /config.json, and to stop using the (fake) EEPROM ... especially as that only writes to a single sector (burn out the flash sector). LittleFS has more overhead, but as reading / updating the configuration is not a performance-sensitive operation, the benefits in maintainability will likely outweigh the downsides.
The text was updated successfully, but these errors were encountered: