spi_flash: Making XMC flash works more stable when brownout detected

This commit is contained in:
Cao Sen Miao
2022-05-30 16:49:19 +08:00
parent 890f046ee9
commit 6a2d3509dc
27 changed files with 261 additions and 134 deletions

View File

@@ -49,6 +49,12 @@ esp_err_t bootloader_flash_xmc_startup(void);
*/
esp_err_t __attribute__((weak)) bootloader_flash_unlock(void);
/**
* @brief Reset the flash chip (66H + 99H).
*
* @return ESP_OK if success, otherwise ESP_FAIL.
*/
esp_err_t bootloader_flash_reset_chip(void);
#ifdef __cplusplus
}