esp_flash_write() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading (1/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

- 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 if the chip is not able to perform the operation. This is indicated by WREN = 1 after the command is sent. - ESP_ERR_NOT_ALLOWED if the address range (address -- address + length) overlaps with a read-only partition address space - Other flash error code if operation failed.