esp_partition_main_flash_region_safe() function
Check whether the region on the main flash is safe to write.
Syntax
bool esp_partition_main_flash_region_safe(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_main_flash_region_safe() is called by 2 functions and calls 1 function:
![]()
esp_partition_main_flash_region_safe()
esp_partition_main_flash_region_safe() reads 2 variables:
![]()
esp_partition_main_flash_region_safe()