Home
last modified time | relevance | path

Searched refs:erase_addr (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-2.7.6/components/spi_flash/
Desp_flash_api.c442 uint32_t erase_addr = start; in esp_flash_erase_region() local
463 …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()