Searched refs:aligned_erase_size (Results 1 – 1 of 1) sorted by relevance
151 … const int aligned_erase_size = (image_size + SPI_FLASH_SEC_SIZE - 1) & ~(SPI_FLASH_SEC_SIZE - 1); in esp_ota_begin() local152 ret = esp_partition_erase_range(partition, 0, aligned_erase_size); in esp_ota_begin()