mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 02:29:10 -04:00
By storing the 'user2' register during the early init we fix the flash access issue, which occurs in the Zephyr/MCUboot ports for ESP32. Signed-off-by: Marek Matej <marek.matej@espressif.com>
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.)