acassis commented on code in PR #17264: URL: https://github.com/apache/nuttx/pull/17264#discussion_r2484856480
########## Documentation/components/drivers/block/eeprom.rst: ########## @@ -2,17 +2,19 @@ EEPROM ====== -EEPROMs are a form of Memory - Technology Device (MTD). EEPROMs are non-volatile memory like FLASH, but - differ in underlying memory technology and differ in usage in many respects: - They may not be organized into blocks (at least from the standpoint of the - user) and it is not necessary to erase the EEPROM memory before re-writing - it. In addition, EEPROMs tend to be much smaller than FLASH parts, usually - only a few kilobytes vs megabytes for FLASH. EEPROM tends to be used to - retain a small amount of device configuration information; FLASH tends - to be used for program or massive data storage. For these reasons, it may - not be convenient to use the more complex MTD interface but instead use - the simple character interface provided by the EEPROM drivers. +EEPROMs are a form of Memory Technology Device (MTD). Review Comment: Accessing EEPROM over MTD is slow, the EEPROM char driver is a good option when you want to have low level control over the flash, for example to save few data in binary format. I think both driver has some worth, but I think it is confusing for beginner, we need to have a better Documentation explaining each usage case -- 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]
