Laczen commented on PR #18024:
URL: https://github.com/apache/nuttx/pull/18024#issuecomment-3771505803

   > > @zhaoxingyu12 does NuttX have the possibility to distinguish between 
devices that require erase and devices that don't? Even for devices that do not 
require erase the benefits of zms over nvs (emulating a erase by writing 0xff) 
is very limited. I am unsure that the addition of zms (with associated 
maintenance) can be justified.
   > 
   > @Laczen you can check whether mtd driver implement mtd_dev_s::erase.
   
   @xiaoxiang781216 this could be done, but this might break other drivers. 
E.g. the rwbuffer directly calls the underlying mtd_erase method.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to