i am trying to create a custom bootloader exactly like in the idf examples , only I dont have a clue how to access the slow RTC memory so that multiple apps can write a value to it and then after a deepsleep reset the bootloader loads the app partition based on that value.
I have seen this code :
Code: Select all
rtc_retain_mem_t* mem = bootloader_common_get_rtc_retain_mem();
// mem->custom is the user's usable array in RTC
can someone please give me any pointers ?
many thanks in advance!