Open xiaoxiang781216 opened 1 year ago
- Move erase state to mtd_geometry_s and remove MTDIOC_ERASESTATE
Please, note that the NuttX port of MCUboot makes use of MTDIOC_ERASESTATE
:
https://github.com/mcu-tools/mcuboot/blob/5047f032c93fd8957be6529f8f1ad7a3fe626057/boot/nuttx/src/flash_map_backend/flash_map_backend.c#L302-L303
https://github.com/apache/nuttx/pull/4320 add model info to mtd_geometry_s and geometry, the next step is: