diff options
Diffstat (limited to 'nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c')
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c index a47181bac..0b643f276 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c @@ -56,21 +56,21 @@ /* PORT and SLOT number probably depend on the board configuration */ #ifdef CONFIG_ARCH_BOARD_LPCXPRESSO -# define CONFIG_NSH_HAVEUSBDEV 1 +# define NSH_HAVEUSBDEV 1 # ifdef CONFIG_LPC17_SSP1 -# define CONFIG_NSH_HAVEMMCSD 1 +# define NSH_HAVEMMCSD 1 # else -# undef CONFIG_NSH_HAVEMMCSD +# undef NSH_HAVEMMCSD # endif #else # error "Unrecognized board" -# undef CONFIG_NSH_HAVEUSBDEV -# undef CONFIG_NSH_HAVEMMCSD +# undef NSH_HAVEUSBDEV +# undef NSH_HAVEMMCSD #endif /* Do we have SPI support for MMC/SD? */ -#ifdef CONFIG_NSH_HAVEMMCSD +#ifdef NSH_HAVEMMCSD # if !defined(CONFIG_NSH_MMCSDSPIPORTNO) || CONFIG_NSH_MMCSDSPIPORTNO != 1 # error "The LPCXpresso MMC/SD is on SSP1" # undef CONFIG_NSH_MMCSDSPIPORTNO @@ -86,13 +86,13 @@ /* Can't support USB device features if USB device is not enabled */ #ifndef CONFIG_USBDEV -# undef CONFIG_NSH_HAVEUSBDEV +# undef NSH_HAVEUSBDEV #endif /* Can't support MMC/SD features if mountpoints are disabled */ #if defined(CONFIG_DISABLE_MOUNTPOINT) -# undef CONFIG_NSH_HAVEMMCSD +# undef NSH_HAVEMMCSD #endif #ifndef CONFIG_NSH_MMCSDMINOR @@ -137,7 +137,7 @@ int nsh_archinitialize(void) { -#ifdef CONFIG_NSH_HAVEMMCSD +#ifdef NSH_HAVEMMCSD FAR struct spi_dev_s *ssp; int ret; |