bootloader_flash.h 526 B

123456789101112131415161718192021
  1. /*
  2. * SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #include <esp_err.h>
  8. #include <esp_spi_flash.h> /* including in bootloader for error values */
  9. #include "sdkconfig.h"
  10. #include "soc/soc_caps.h"
  11. #if SOC_CACHE_SUPPORT_WRAP
  12. /**
  13. * @brief Set the burst mode setting command for specified wrap mode.
  14. *
  15. * @param mode The specified warp mode.
  16. * @return always ESP_OK
  17. */
  18. esp_err_t bootloader_flash_wrap_set(spi_flash_wrap_mode_t mode);
  19. #endif