#pragma once int block_is_erased(struct flash_dev *dev, uint32_t addr, uint32_t len);