5#include <soc/soc_caps.h>
11#if defined(USE_ESP32_RTC_PREFERENCES) && SOC_RTC_MEM_SUPPORTED
12#define USE_ESP32_RTC_PREFERENCES_STORAGE
37#ifdef USE_ESP32_RTC_PREFERENCES_STORAGE
CRTP mixin providing type-safe template make_preference<T>() helpers.
bool is_changed_(uint32_t nvs_handle, const NVSData &to_save, const char *key_str)
ESP32PreferenceBackend make_backend_(uint32_t type) const
ESPPreferenceObject make_preference(size_t length, uint32_t type, bool in_flash)
bool load_from_key(uint32_t type, uint8_t *data, size_t len)
One-shot read of a stored preference by key, without allocating a backend.
ESPPreferenceObject make_rtc_preference_(size_t length, uint32_t type)
uint16_t current_rtc_offset_