mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 08:31:44 +01:00
When CONFIG_ESP32_RTCDATA_IN_FAST_MEM is enabled, RTC data is placed into RTC_FAST memory region, viewed from the data bus. However the bootloader was missing a check that this region should not be overwritten after deep sleep, which caused .rtc.bss segment to loose its contents after wakeup.
Bootloader Support Component ============================ Overview -------- "Bootloader support" contains APIs which are used by the bootloader but are also needed for the main app. Code in this component needs to be aware of being executed in a bootloader environment (no RTOS available, BOOTLOADER_BUILD macro set) or in an esp-idf app environment (RTOS running, need locking support.)