Pull Request to extend RTC Memory() on ESP8266 (and maybe EPS32 later)

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
CaCO3
Posts: 5
Joined: Sat Aug 07, 2021 9:51 pm

Pull Request to extend RTC Memory() on ESP8266 (and maybe EPS32 later)

Post by CaCO3 » Tue Aug 24, 2021 9:11 pm

Hi guys

I wrote a Pull Request to extend the RTC Memory() on ESP8266 (and maybe EPS32 later): https://github.com/caco3/micropython/pull/1
It adds Slot read write of the RTC Memory.
It is an adoption of https://nodemcu.readthedocs.io/en/relea ... es/rtcmem/

The core reason is to save memory if you want to persist various data in the RTC Memory. Until now, the whole block had to be read before modification (492 bytes on ESP8266). Now only a single slot of 4 bytes needs to be read.

I have some questions and would like to get your feedback to it.
Please have a look on it and the open tasks in the Pull Request Notes.

Post Reply