9
0
Fork 0

Documentation update

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3795 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2011-07-18 01:47:48 +00:00
parent ecedcf36c5
commit 85f94a201c
2 changed files with 52 additions and 20 deletions

View File

@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: July 11, 2011</p>
<p>Last Updated: July 17, 2011</p>
</td>
</tr>
</table>
@ -417,7 +417,7 @@
<td><br></td>
<td>
<p>
<li>FAT12/16/32 filesystem support.</li>
<li>FAT12/16/32 filesystem support with optional FAT long file name support<small><sup>1</sup></small>.</li>
</p>
</tr>
<tr>
@ -450,6 +450,15 @@
execute separately linked programs in place in a file system.
</p>
</tr>
<tr>
<td><br></td>
<td>
<p><small>
<sup>1</sup>
FAT long file name support may be subject to certain Microsoft patent restrictions if enabled.
See the top-level <code>COPYING</code> file for details.
</small></p>
</tr>
<tr>
<td valign="top" width="22"><img height="20" width="20" src="favicon.ico"></td>
@ -2537,8 +2546,41 @@ buildroot-1.10 2011-05-06 &lt;spudmonkey@racsa.co.cr&gt;
<ul><pre>
nuttx-6.7 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* Makefile: Added a export target that will bundle up all of the NuttX
libraries, header files, and the startup object into an export-able
tarball.
* arch/arm/src/lpc17xx/lpc17_can.h: Correct some typos in the CAN
register definitions.
* drivers/serial/serialirq.c: Correct an error that can occur if the
serial RX buffer becomes full. Data is now discarded in that case;
before, leaving data in the hardware would cause infinite interrupts
one most MCUs since you must read the data in order to clear the
interrupt.
* arch/arm/src/lpc17xx/lpc17_can.c: Added a CAN driver contributed by
Li Zhuoyi (Lzyy).
* include/stddefs.h and sys/types: Added type wchar_t.
* fs/fat/fat_fat32dirent.c: The configuration CONFIG_FAT_LCNAMES has
been around for some time but never tested until now. This setting
will mimic the NT 8.3 file name behavior: File names or extensions
may be all upper or all lower case (but not mixed). If
CONFIG_FAT_LCNAMES is not selected, all filenames are strictly upper
case.
* configs/stm3210e-eval/nsh2: Console is back on UART1; Added
examplex/nx as an NSH &quot;built-in&quot; command as a demonstration.
* fs/fat/fs_fat32dirent.c: Fix an important bug in the directory
allocation (fat_allocatedirentry()). I looks like it could be
initializing the wrong sectors! NOTE: This function was in
fs_fat32utils.c in earlier releases.
* arch/arm/src/stm32_sdio.c: Correct an important DMA-related bug;
SDIO transfer completion events and DMA completion eventes were
not being coordinated correctly.
* configs/stm3210e-eval/nsh2: Enable FAT long file name support
apps-6.7 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* apps/examples/nx and nxtext: These examples can now be built as NSH
&quot;built-in&quot; commands.
pascal-3.1 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
buildroot-1.11 2011-xx-xx &lt;spudmonkey@racsa.co.cr&gt;

View File

@ -941,28 +941,18 @@ static bool fat_cmplfname(const uint8_t *direntry, const uint8_t *substr)
chunk = LDIR_PTRWCHAR1_5(direntry);
match = fat_cmplfnchunk(chunk, substr, 5);
if (match)
if (match && len > 5)
{
/* Don't go past the end of the sub-string */
/* Check bytes 6-11 */
if (len > 5)
chunk = LDIR_PTRWCHAR6_11(direntry);
match = fat_cmplfnchunk(chunk, &substr[5], 6);
if (match && len > 11)
{
/* Check bytes 6-11 */
/* Check bytes 12-13 */
chunk = LDIR_PTRWCHAR6_11(direntry);
match = fat_cmplfnchunk(chunk, &substr[5], 6);
if (match)
{
/* Don't go past the end of the sub-string */
if (len > 11)
{
/* Check bytes 12-13 */
chunk = LDIR_PTRWCHAR12_13(direntry);
match = fat_cmplfnchunk(chunk, &substr[11], 2);
}
}
chunk = LDIR_PTRWCHAR12_13(direntry);
match = fat_cmplfnchunk(chunk, &substr[11], 2);
}
}