Home
last modified time | relevance | path

Searched refs:reboot_counter (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.4.0/components/bootloader_support/src/
Dbootloader_common_loader.c174 return rtc_retain_mem->reboot_counter; in bootloader_common_get_rtc_retain_mem_reboot_counter()
187 void bootloader_common_update_rtc_retain_mem(esp_partition_pos_t* partition, bool reboot_counter) in bootloader_common_update_rtc_retain_mem() argument
189 if (reboot_counter) { in bootloader_common_update_rtc_retain_mem()
193 if (++rtc_retain_mem->reboot_counter == 0) { in bootloader_common_update_rtc_retain_mem()
195 --rtc_retain_mem->reboot_counter; in bootloader_common_update_rtc_retain_mem()
/hal_espressif-3.4.0/components/bootloader_support/include/
Dbootloader_common.h254 void bootloader_common_update_rtc_retain_mem(esp_partition_pos_t* partition, bool reboot_counter);
Desp_image_format.h48 uint16_t reboot_counter; /*!< Reboot counter. Reset only when power is off. */ member