spi_flash: support write verify feature on esp_flash_write_encrypted API

This commit is contained in:
Armando
2023-03-02 16:11:54 +08:00
parent 110853517a
commit d35b6dd852
3 changed files with 52 additions and 15 deletions

View File

@@ -334,6 +334,7 @@ esp_err_t esp_flash_write(esp_flash_t *chip, const void *buffer, uint32_t addres
*
* @return
* - ESP_OK: on success
* - ESP_FAIL: bad write, this will be detected only when CONFIG_SPI_FLASH_VERIFY_WRITE is enabled
* - ESP_ERR_NOT_SUPPORTED: encrypted write not supported for this chip.
* - ESP_ERR_INVALID_ARG: Either the address, buffer or length is invalid.
*/