Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
ce88f176b6
commit
5b921ba7c1
@ -1321,7 +1321,7 @@ mkfatfs <path>
|
||||
Format a fat file system on the block device specified by <code><path></code>.
|
||||
NSH provides this command to access the <a href="mkfatfs"><code>mkfatfs()</code></a> NuttX API.
|
||||
This block device must reside in the NuttX <a href="NuttxUserGuide.html#FileSystemOverview"><i>pseudo</i> filesystem</a> and
|
||||
must have been created by some call to <code>register_blockdriver()</code> (see <code>include/nuttx/fs.h</code>).
|
||||
must have been created by some call to <code>register_blockdriver()</code> (see <code>include/nuttx/fs/fs.h</code>).
|
||||
</p>
|
||||
|
||||
<table width ="100%">
|
||||
|
@ -2307,7 +2307,7 @@ extern void up_ledoff(int led);
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<b><code>include/nuttx/fs.h</code></b>.
|
||||
<b><code>include/nuttx/fs/fs.h</code></b>.
|
||||
All structures and APIs needed to work with character drivers are provided in this header file.
|
||||
</p>
|
||||
</li>
|
||||
@ -2359,7 +2359,7 @@ extern void up_ledoff(int led);
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<b><code>include/nuttx/fs.h</code></b>.
|
||||
<b><code>include/nuttx/fs/fs.h</code></b>.
|
||||
All structures and APIs needed to work with block drivers are provided in this header file.
|
||||
</p>
|
||||
</li>
|
||||
@ -2797,7 +2797,7 @@ extern void up_ledoff(int led);
|
||||
<li><code>MTDIOC_BULKERASE</code>: Erase the entire device</li>
|
||||
</ul>
|
||||
<p>
|
||||
is provided via a sinble <code>ioctl</code> method (see <code>include/nuttx/ioctl.h</code>):
|
||||
is provided via a sinble <code>ioctl</code> method (see <code>include/nuttx/fs/ioctl.h</code>):
|
||||
</p>
|
||||
<ul>
|
||||
<p><code>int (*ioctl)(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg);</code></p>
|
||||
@ -3827,12 +3827,12 @@ build
|
||||
</li>
|
||||
<li>
|
||||
<code>CONFIG_NUTTX_KERNEL</code>:
|
||||
With most MCUs, NuttX is built as a flat, single executable image
|
||||
With most MCUs, NuttX is built as a flat, single executable image
|
||||
containing the NuttX RTOS along with all application code.
|
||||
The RTOS code and the application run in the same address space and at the same kernel-mode privileges.
|
||||
If this option is selected, NuttX will be built separately as a monolithic, kernel-mode module and the applications
|
||||
If this option is selected, NuttX will be built separately as a monolithic, kernel-mode module and the applications
|
||||
can be added as a separately built, user-mode module.
|
||||
In this a system call layer will be built to support the user- to kernel-mode interface to the RTOS.
|
||||
In this a system call layer will be built to support the user- to kernel-mode interface to the RTOS.
|
||||
</li>
|
||||
<li>
|
||||
<code>CONFIG_MM_REGIONS</code>: If the architecture includes multiple
|
||||
|
@ -6623,7 +6623,7 @@ void *memmove(void *dest, const void *src, size_t count);
|
||||
<b>Function Prototype:</b>
|
||||
</p>
|
||||
<ul><pre>
|
||||
#include <nuttx/mkfatfs.h>
|
||||
#include <nuttx/fs/mkfatfs.h>
|
||||
int mkfatfs(FAR const char *pathname, FAR struct fat_format_s *fmt);
|
||||
</pre></ul>
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user