mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-02 23:32:42 +00:00
spi_flash: support write verify feature on esp_flash_write_encrypted API
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user