From fe2191e62b78bfcc78e92178f303c5fd47e6a89f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 5 Dec 2013 18:16:27 -0600 Subject: [PATCH] NSH: Add an option to the mkfatfs command to specify FAT12, FAT16, or FAT32 --- Documentation/NuttShell.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index a701453d832..63e2165762d 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -8,7 +8,7 @@

NuttShell (NSH)

-

Last Updated: October 5, 2013

+

Last Updated: December 5, 2013

@@ -1668,11 +1668,16 @@ nsh>

Command Syntax:

Synopsis. - Format a fat file system on the block device specified by <path>. + Format a fat file system on the block device specified by <block-driver> path. + The FAT size may be provided as an option. + Without the <fatsize> option, mkfatfs will select either the FAT12 or FAT16 format. + For historical reasons, if you want the FAT32 format, it must be explicitly specified on the command line. +

+

NSH provides this command to access the mkfatfs() NuttX API. This block device must reside in the NuttX pseudo filesystem and must have been created by some call to register_blockdriver() (see include/nuttx/fs/fs.h).