Searched refs:erase_addr (Results 1 – 1 of 1) sorted by relevance
442 uint32_t erase_addr = start; in esp_flash_erase_region() local463 …if (block_erase_size > 0 && len_remain >= block_erase_size && (erase_addr % block_erase_size) == 0… in esp_flash_erase_region()464 err = chip->chip_drv->erase_block(chip, erase_addr); in esp_flash_erase_region()465 erase_addr += block_erase_size; in esp_flash_erase_region()471 err = chip->chip_drv->erase_sector(chip, erase_addr); in esp_flash_erase_region()472 erase_addr += sector_size; in esp_flash_erase_region()