From a2a9e20c65baa6d51c33a948d1058ad51ec22d97 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 24 Jun 2016 07:47:03 -0600 Subject: [PATCH] Move NSH stuff out of nuttx/configs/Kconfig to here. Why was it in the NuttX tree. --- nshlib/Kconfig | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/nshlib/Kconfig b/nshlib/Kconfig index c19b304f8..9443feae0 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -509,6 +509,34 @@ config NSH_DISABLE_XD endmenu +if MMCSD + +config NSH_MMCSDMINOR + int "MMC/SD minor number" + default 0 + ---help--- + If board-specific NSH start-up logic needs to mount an MMC/SD device, then the + setting should be provided to identify the MMC/SD minor device number (i.e., the N ini + /dev/mmcsdN). Default 0 + +config NSH_MMCSDSLOTNO + int "MMC/SD slot number" + default 0 + ---help--- + If board-specific NSH start-up supports more than one MMC/SD slot, then this setting + should be provided to indicate which slot should be used. Default: 0. + +config NSH_MMCSDSPIPORTNO + int "MMC/SD SPI device number" + default 0 + depends on MMCSD_SPI + ---help--- + If board-specif NSH start-up logic will mount an SPI-based MMC/SD volume, then this + setting may be needed to tell the board logic which SPI bus to use. Default: 0 + (meaning is board-specific). + +endif # MMCSD + menu "Configure Command Options" config NSH_CMDOPT_DF_H