NSH: Add an option to the mkfatfs command to specify FAT12, FAT16, or FAT32

This commit is contained in:
Gregory Nutt
2013-12-05 18:12:11 -06:00
parent 9f487677d2
commit 564143dba8
4 changed files with 88 additions and 10 deletions

View File

@@ -299,7 +299,7 @@ static const struct cmdmap_s g_cmdmap[] =
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_FS_FAT)
# ifndef CONFIG_NSH_DISABLE_MKFATFS
{ "mkfatfs", cmd_mkfatfs, 2, 2, "<path>" },
{ "mkfatfs", cmd_mkfatfs, 2, 4, "[-F <fatsize>] <block-driver>" },
# endif
#endif