esp_flash_get_protected_region() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

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

Notes

It is possible for this result to be false 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

from examples