Function esp_idf_sys::esp_partition_is_flash_region_writable
source ยท pub unsafe extern "C" fn esp_partition_is_flash_region_writable(
addr: usize,
size: usize,
) -> bool
Expand description
Check whether the region on the main flash is not read-only.
@param addr Start address of the region @param size Size of the region
@return true if the region is safe to write, otherwise false.