spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart

This commit is contained in:
Xiao Xufeng
2023-06-24 20:38:53 +08:00
committed by BOT
parent dc384fcb4d
commit 194ea85ee8
22 changed files with 417 additions and 192 deletions

View File

@@ -171,6 +171,8 @@ esp_err_t esp_flash_get_size(esp_flash_t *chip, uint32_t *out_size);
esp_err_t esp_flash_get_physical_size(esp_flash_t *chip, uint32_t *flash_size);
/** @brief Read flash unique ID via the common "RDUID" SPI flash command.
*
* @note This is an optional feature, which is not supported on all flash chips. READ PROGRAMMING GUIDE FIRST!
*
* @param chip Pointer to identify flash chip. Must have been successfully initialised via esp_flash_init().
* @param[out] out_id Pointer to receive unique ID value.