Assign queue/list to rtc memory

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
Barneybear
Posts: 8
Joined: Tue Dec 21, 2021 1:30 pm

Assign queue/list to rtc memory

Post by Barneybear » Mon Jan 10, 2022 12:26 pm

Hi all, i wish to assign a small int stack to be used ideally with queue or a list to rtc memory. Can anybody tell me please if assigning queue or a list to a specific memory address is possible. I wish to collect a small dataset that can survive a soft reboot without the need for additional hardware.
Thank you for your consideration.

User avatar
karfas
Posts: 193
Joined: Sat Jan 16, 2021 12:53 pm
Location: Vienna, Austria

Re: Assign queue/list to rtc memory

Post by karfas » Mon Jan 10, 2022 8:39 pm

Have a look at https://github.com/karfas/upy-esp32-lib.

Most likely you will need to adapt this a little for the ESP8266 (I have no 8266 to test this).
A few hours of debugging might save you from minutes of reading the documentation! :D
My repositories: https://github.com/karfas

Barneybear
Posts: 8
Joined: Tue Dec 21, 2021 1:30 pm

Re: Assign queue/list to rtc memory

Post by Barneybear » Tue Jan 11, 2022 10:20 am

Thank you karfas

Post Reply