diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-18 01:47:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-18 01:47:48 +0000 |
commit | a624250733a2883aeeba3e55eed0096472814168 (patch) | |
tree | a4e28f97e0224d05f47ea99066aca9c5dcbc0545 /nuttx | |
parent | 01cbaa393093aadfb26d3e25f8750ba486e33151 (diff) | |
download | px4-nuttx-a624250733a2883aeeba3e55eed0096472814168.tar.gz px4-nuttx-a624250733a2883aeeba3e55eed0096472814168.tar.bz2 px4-nuttx-a624250733a2883aeeba3e55eed0096472814168.zip |
Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3795 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/Documentation/NuttX.html | 46 | ||||
-rw-r--r-- | nuttx/fs/fat/fs_fat32dirent.c | 26 |
2 files changed, 52 insertions, 20 deletions
diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 06c4bb425..672921ce8 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -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 <spudmonkey@racsa.co.cr> <ul><pre> nuttx-6.7 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> + * 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 "built-in" 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 <spudmonkey@racsa.co.cr> + * apps/examples/nx and nxtext: These examples can now be built as NSH + "built-in" commands. + pascal-3.1 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> buildroot-1.11 2011-xx-xx <spudmonkey@racsa.co.cr> diff --git a/nuttx/fs/fat/fs_fat32dirent.c b/nuttx/fs/fat/fs_fat32dirent.c index b64ab87e3..8ba3d3a69 100644 --- a/nuttx/fs/fat/fs_fat32dirent.c +++ b/nuttx/fs/fat/fs_fat32dirent.c @@ -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); } } |