I'm using deep sleep in my ESP32C2 application and I need to keep one measly uint16_t between resets.
RTC_DATA_ATTR seem to not work.
I read the reference manual and there seem to be 8-32bit registers that persist (RTC_CNTL_STORE0..7_REG) but in ESP-IDF's rtc.h I see they are all used by ESP-IDF and I think I'm out of luck.
- If I'm wrong, how can i access said registers correctly?
- If I'm right, what are my possibilities besides NVS? It's a low power application that could wake more times a day and save this number each time.
