davetcc / tcMenu

Menu library for Arduino, mbed and ESP with designer UI and remote control capabilities.
https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/
Apache License 2.0
272 stars 25 forks source link

Add support for ESP32 Preferences library #378

Open vzahradnik opened 11 months ago

vzahradnik commented 11 months ago

Is your feature request related to a problem? Please describe. ESP32 deprecated EEPROM approach in favor of Preferences library. More information and examples here: https://randomnerdtutorials.com/esp32-save-data-permanently-preferences/

Also, this is discussed in TcMenu thread here: https://github.com/davetcc/tcMenu/discussions/359

Describe the solution you'd like Add Preferences support to TcMenu designer as another option next to EEPROM.

Additional context N/A

tomelgato commented 2 months ago

Beside the option for Preferences.h it would be nice to be able to enter a namespace which will be used for tcmenu

EEprom support : Preferences.h Namespace: "......."