Search found 2 matches

by Paul_Rodopi
Wed Oct 02, 2024 9:21 pm
Forum: Report Bugs
Topic: ESP32 changes placed in RTC memory variables after returning from deep sleep
Replies: 3
Views: 388

Re: ESP32 changes placed in RTC memory variables after returning from deep sleep

Yes, I missed to mention that I have defined two RTC_DATA_ATTR structures in two separate source files: main.c and the second with strange behavior, in a separate .c file. I observed earlier that the sequence of placing variables marked with RTC_DATA_ATTR is important for the compiler. For example, ...
by Paul_Rodopi
Wed Oct 02, 2024 3:27 am
Forum: Report Bugs
Topic: ESP32 changes placed in RTC memory variables after returning from deep sleep
Replies: 3
Views: 388

ESP32 changes placed in RTC memory variables after returning from deep sleep

Dear colleagues, I will appreciate you help in solving the following problem I encounter when programming my ESP32 Lolin32 board. I have defined a structure in RTC memory for keeping calculated up to six time offsets between SNTP and RTC time: typedef struct { struct timeval offset_t[ESP_MAX_TIMESYN...