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

Return value

ESP_OK on success, or a flash error code if operation failed.

Notes

It is possible for the region protection flag to be cleared and write operations to still fail, if protection is enabled for the entire chip. Correct behaviour of this function depends on the SPI flash chip model and chip_drv in use (via the 'chip->drv' field).

References