esp_partition_is_flash_region_writable() function
Check whether the region on the main flash is not read-only.
Syntax
bool esp_partition_is_flash_region_writable(size_t addr,
size_t size);
Arguments
addr
Start address of the region
Return value
true if the region is safe to write, otherwise false.
esp_partition_is_flash_region_writable() is called by 1 function and calls 3 functions:
![]()
esp_partition_is_flash_region_writable()
esp_partition_is_flash_region_writable() reads 5 variables:
![]()
esp_partition_is_flash_region_writable()