jingfei195887 opened a new pull request, #17845:
URL: https://github.com/apache/nuttx/pull/17845

   ## Summary
   
   This PR contains a series of optimizations and compatibility adjustments for 
the FTL (Flash Translation Layer) and MTD (Memory Technology Device) 
subsystems, primarily to:
   1. Enable seamless compatibility with non-erase-required storage devices 
(e.g., RRAM/MRAM)
   2. Improve the robustness of MTD erase operation return value judgment
   3. Optimize resource usage by removing unnecessary erase buffers for devices 
without an erase interface
   
   ## Impact
   1. Enables FTL/MTD subsystems to support non-traditional storage devices 
(RRAM/MRAM) that do not require erase operations, expanding the applicable 
scenario of the system.
   
   2. Unifies the return value judgment standard of the MTD erase interface, 
avoiding potential errors caused by inconsistent return values; adds pre-check 
of the erase interface to prevent invalid operations.
   
   ## Testing
   We have actually tested RRAM/MRAM devices, confirming that no errors are 
reported when accessing them via the FTL interface, and the write/read 
functions work normally as expected.
   


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