3.9.9. erase - erase flash memory¶
erase DEVICE [AREA]
Erase the flash memory handled by DEVICE. Which AREA will be erased depends on the device: If the device represents the whole flash memory, the whole memory will be erased. If the device represents a partition on a main flash memory, only this partition part will be erased.
Use ‘addpart’ and ‘delpart’ to manage partitions.