From 74e24323b51c223068c76eca291bbcde3a45a96f Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 8 Sep 2012 02:10:56 +0000 Subject: [PATCH] More Shenzhou board logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5111 42af7a65-404d-4744-a932-0658087f49c3 --- netutils/thttpd/Kconfig | 2 +- nshlib/Kconfig | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/netutils/thttpd/Kconfig b/netutils/thttpd/Kconfig index 8c73008ab..aa3751839 100644 --- a/netutils/thttpd/Kconfig +++ b/netutils/thttpd/Kconfig @@ -9,7 +9,7 @@ config NETUTILS_THTTPD ---help--- Enable support for the THTTPD webservert. -if NETUTILS_TFTPC +if NETUTILS_THTTPD config THTTPD_PORT int "THTTPD port number" default 80 diff --git a/nshlib/Kconfig b/nshlib/Kconfig index b03dcdc90..fd1bb7cc8 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -242,9 +242,12 @@ config NSH_ROMFSSECTSIZE increased if the ROMFS volume were to be become large. Any value selected must be a power of 2. +endif + config NSH_FATDEVNO int "FAT block device minor number" default 0 + depends on FS_FAT ---help--- When the default rcS file used when NSH_ROMFSETC is selected, it will mount a FAT FS under /tmp. This is the minor number of the FAT @@ -253,6 +256,7 @@ config NSH_FATDEVNO config NSH_FATSECTSIZE int "FAT sector size" default 512 + depends on FS_FAT ---help--- When the default rcS file used when NSH_ROMFSETC is selected, it will mount a FAT FS under /tmp. This is the sector size use with the @@ -261,6 +265,7 @@ config NSH_FATSECTSIZE config NSH_FATNSECTORS int "FAT number of sectors" default 1024 + depends on FS_FAT ---help--- When the default rcS file used when NSH_ROMFSETC is selected, it will mount a FAT FS under /tmp. This is the number of sectors to use @@ -269,12 +274,12 @@ config NSH_FATNSECTORS config NSH_FATMOUNTPT string "FAT mount point" - default 512 + default "/tmp" + depends on FS_FAT ---help--- When the default rcS file used when NSH_ROMFSETC is selected, it will mount a FAT FS under /tmp. This is the location where the FAT FS will be mounted. Default is /tmp. -endif if NSH_LIBRARY config NSH_CONSOLE