summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-27 09:14:00 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-27 09:14:00 -0600
commit6644cc6ae84106f5a5a2c4e226aa599858fd485f (patch)
tree826dcaf373e0bb7bad338fc37ed2f045fb3ae8e4
parente49fc3ada34d3cc8098372ebaf048ce76e42636a (diff)
downloadpx4-nuttx-6644cc6ae84106f5a5a2c4e226aa599858fd485f.tar.gz
px4-nuttx-6644cc6ae84106f5a5a2c4e226aa599858fd485f.tar.bz2
px4-nuttx-6644cc6ae84106f5a5a2c4e226aa599858fd485f.zip
EEPROM: Add a README file
-rw-r--r--nuttx/Documentation/README.html2
-rw-r--r--nuttx/README.txt2
-rw-r--r--nuttx/drivers/eeprom/spi_xx25xx.c2
-rw-r--r--nuttx/drivers/mtd/README.txt14
4 files changed, 19 insertions, 1 deletions
diff --git a/nuttx/Documentation/README.html b/nuttx/Documentation/README.html
index 8e58d0701..35512e365 100644
--- a/nuttx/Documentation/README.html
+++ b/nuttx/Documentation/README.html
@@ -260,6 +260,8 @@
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/zp214xpa/README.txt"><b><i>README.txt</i></b></a>
| | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/README.txt"><b><i>README.txt</i></b></a>
| |- drivers/
+ | | |- eeprom/
+ | | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/drivers/eeprom/README.txt"><b><i>README.txt</i></b></a>
| | |- lcd/
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/drivers/lcd/README.txt"><b><i>README.txt</i></b></a>
| | |- mtd/
diff --git a/nuttx/README.txt b/nuttx/README.txt
index 1bef4adf4..e15c48d25 100644
--- a/nuttx/README.txt
+++ b/nuttx/README.txt
@@ -1216,6 +1216,8 @@ nuttx
| | `- README.txt
| `- README.txt
|- drivers/
+ | |- eeprom/
+ | | `- README.txt
| |- lcd/
| | `- README.txt
| |- mtd/
diff --git a/nuttx/drivers/eeprom/spi_xx25xx.c b/nuttx/drivers/eeprom/spi_xx25xx.c
index cf2403952..95d86603a 100644
--- a/nuttx/drivers/eeprom/spi_xx25xx.c
+++ b/nuttx/drivers/eeprom/spi_xx25xx.c
@@ -33,7 +33,7 @@
*
****************************************************************************/
-/* This is a driver for SPI EEPROMs that uses the same commands as the
+/* This is a driver for SPI EEPROMs that use the same commands as the
* 25AA160.
*
* Write time 5ms, 6ms for 25xx1025 (determined automatically with polling)
diff --git a/nuttx/drivers/mtd/README.txt b/nuttx/drivers/mtd/README.txt
index 5331155f8..85146c884 100644
--- a/nuttx/drivers/mtd/README.txt
+++ b/nuttx/drivers/mtd/README.txt
@@ -8,6 +8,20 @@ MTD README
See include/nuttx/mtd/mtd.h for additional information.
+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. See drivers/eeprom.
+
NAND MEMORY
===========