SNTP Sample RTC_DATA_ATTR variable get cleared

Wurzbart
Posts: 4
Joined: Sat Dec 03, 2016 7:39 pm

SNTP Sample RTC_DATA_ATTR variable get cleared

Postby Wurzbart » Wed Dec 28, 2016 5:08 pm

Hello,
i have compiled sample 06_sntp and flashed. On console output the "Boot count" after reset was 1 and after deep sleep it was always 0 and no valid time was available.

After inserting

Code: Select all

esp_deep_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_ON);
the "Boot count" increases correctly and the time was valid.

Is this intended behavior ?
If so, please fix the example.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: SNTP Sample RTC_DATA_ATTR variable get cleared

Postby ESP_Angus » Wed Dec 28, 2016 9:55 pm

Thanks for reporting this. This is a bug, and we'll fix it (either in the example or in the RTC memory storage behaviour) ASAP.

Who is online

Users browsing this forum: Bing [Bot], VinayDand and 433 guests