int f3s_v2erase (f3s_dbase_t *dbase,
f3s_access_t *access,
uint32_t flags,
uint32_t text_offset);
This function begins erasing the flash block containing the text_offset. It can optionally determine if an error has already occurred, or it can just return EOK and let f3s_v2sync() detect any error.
On success, it should return EOK. If an error occurs, it should return one of the following: