MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / fal_partition_erase_all

Function fal_partition_erase_all

components/fal/src/fal_partition.c:527–530  ·  view source on GitHub ↗

* erase partition all data * * @param part partition * * @return >= 0: successful erased data size * -1: error */

Source from the content-addressed store, hash-verified

525 * -1: error
526 */
527int fal_partition_erase_all(const struct fal_partition *part)
528{
529 return fal_partition_erase(part, 0, part->len);
530}

Callers 3

char_dev_writeFunction · 0.85
char_dev_fopenFunction · 0.85
fal_testFunction · 0.85

Calls 1

fal_partition_eraseFunction · 0.85

Tested by

no test coverage detected