Searched refs:sec_num (Results 1 – 1 of 1) sorted by relevance
197 uint32_t sec_num = 0; in esp_core_dump_flash_write_prepare() local229 sec_num = *data_len / SPI_FLASH_SEC_SIZE; in esp_core_dump_flash_write_prepare()231 sec_num++; in esp_core_dump_flash_write_prepare()235 …ESP_COREDUMP_LOGI("Erase flash %d bytes @ 0x%x", sec_num * SPI_FLASH_SEC_SIZE, s_core_flash_config… in esp_core_dump_flash_write_prepare()236 ESP_COREDUMP_ASSERT(sec_num * SPI_FLASH_SEC_SIZE <= s_core_flash_config.partition.size); in esp_core_dump_flash_write_prepare()237 …err = ESP_COREDUMP_FLASH_ERASE(s_core_flash_config.partition.start + 0, sec_num * SPI_FLASH_SEC_SI… in esp_core_dump_flash_write_prepare()