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

   @rongbc I would propose to test this on multiple fs implementations 
(especially fatfs). When the block size is smaller than the erase block size 
two approaches are possible: use 1 block per erase block, use a number of 
blocks per erase block. Some systems (e.g. fatfs) might consider them equal 
resulting in a erase before a write, which is only supported when 1 block is 
used per erase block. There is an option (MTD_SECT512) that allows using more 
512B blocks per erase block that takes care of the correct erase and copy when 
enabled. 


-- 
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