1 /* 2 * SPDX-FileCopyrightText: 2020-2023 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #pragma once 7 #include <stdint.h> 8 #include <esp_err.h> 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /** 15 * @brief Initialize spi_flash in bootloader and print flash info 16 * 17 * @return ESP_OK on success, otherwise see esp_err_t 18 */ 19 esp_err_t bootloader_init_spi_flash(void); 20 21 #ifdef __cplusplus 22 } 23 #endif 24