Environment: ESP32, uPyCraft, MicroPython
Hello,
Has anyone been successful in writing to the RTC user memory area using MircoPython?
There is help using C but not with MircoPython.
The RTC_DATA_ATTR attribute is used with C but is not available with MircoPython.
MircoPython has a “from machine import RTC” where it appears memory can be written but I
do not know the ESP32 memory map.
Thanks,
Scott
3 Answers
Hi Scott.
I think this example covers what you are looking for: https://github.com/micropython/micropython/pull/6713/commits/5325aada7ca54aa9d826267aee6637e711368610
Regards,
Sara