esp_flash_app_init() function
Enable OS-level SPI flash protections in IDF Called by OS startup code. You do not need to call this in your own applications.
Return value
ESP_OK if success, otherwise failed. See return value of ``esp_flash_init_os_functions``.
![]()
esp_flash_app_init();
esp_flash_app_init() calls 3 functions:
![]()
esp_flash_app_init()