mirror of
https://github.com/apache/nuttx.git
synced 2025-12-07 10:03:38 +08:00
Add support for the page erase (PE), sector erase (SE) and chip erase (CE) dedicated commands on supported devices. They can be triggered using the corresponding IOCTL commands EEPIOC_PAGEERASE, EEPIOC_SECTORERASE and EEPIOC_CHIPERASE. On unsupported devices, this is equivalent to writing a full page, sector, or the entire EEPROM to 0xFF. Signed-off-by: Antoine Juckler <6445757+ajuckler@users.noreply.github.com>