diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-09-08 22:06:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-09-08 22:06:38 +0000 |
commit | 1218d6b44b4c1a7b28a8cebda1cf18cf0fc000bd (patch) | |
tree | 84f53c783121c4830102717e0c46380d747c8e3f /nuttx/Documentation/NuttxPortingGuide.html | |
parent | f5072951cc0ddc165fea568a2733a19b51ed1cee (diff) | |
download | px4-nuttx-1218d6b44b4c1a7b28a8cebda1cf18cf0fc000bd.tar.gz px4-nuttx-1218d6b44b4c1a7b28a8cebda1cf18cf0fc000bd.tar.bz2 px4-nuttx-1218d6b44b4c1a7b28a8cebda1cf18cf0fc000bd.zip |
Add some SD file paging logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2932 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 2237afa01..5272846bc 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -2575,6 +2575,24 @@ build If <code>CONFIG_PAGING_BINPATH</code> is defined, then it is the full path to a file on a mounted file system that contains a binary image of the NuttX executable. Pages will be filled by reading from offsets into this file that correspond to virtual fault addresses. </li> + <li> + <code>CONFIG_PAGING_MOUNTPT</code>: + If <code>CONFIG_PAGING_BINPATH</code> is defined, additional options may be provided to control the initialization of underlying devices. + <code>CONFIG_PAGING_MOUNTPT</code> identifies the mountpoint to be used if a device is mounted. + </li> + <li> + <code>CONFIG_PAGING_MINOR</code>: + Some mount operations require a "minor" number to identify the specific device instance. + Default: 0 + </li> + <li> + <code>CONFIG_PAGING_SDSLOT</code>: + If <code>CONFIG_PAGING_BINPATH</code> is defined, additional options may be provided to control the initialization of underlying devices. + <code>CONFIG_PAGING_SDSLOT</code> identifies the slot number of the SD device to initialize. + This must be undefined if SD is not being used. + This should be defined to be zero for the typical device that has only a single slot (See <code>CONFIG_MMCSD_NSLOTS</code>). + If defined, <code>CONFIG_PAGING_SDSLOT</code> will instruct certain board-specific logic to initialize the media in this SD slot. + </li> </ul> <p> The following can be used to disable categories of APIs supported |