There are a few things that should still depend on CONFIG_NSH_ARCHINT vs CONFIG_LIB_BOARDCTL
This commit is contained in:
parent
7d30697408
commit
823b8bda2b
@ -49,6 +49,7 @@
|
||||
#include <nuttx/lcd/p14201.h>
|
||||
|
||||
#include "tiva_gpio.h"
|
||||
#include "tiva_ssi.h"
|
||||
#include "lm3s8962-ek.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -91,6 +91,8 @@
|
||||
/* Make sure that the NSH configuration uses the slot */
|
||||
|
||||
# if !defined(CONFIG_NSH_MMCSDSLOTNO) || CONFIG_NSH_MMCSDSLOTNO != 0
|
||||
# define CONFIG_NSH_MMCSDSLOTNO 0
|
||||
# elif CONFIG_NSH_MMCSDSLOTNO != 0
|
||||
# warning "The PIC32 Starter Kit has only one slot (0)"
|
||||
# undef CONFIG_NSH_MMCSDSLOTNO
|
||||
# define CONFIG_NSH_MMCSDSLOTNO 0
|
||||
|
@ -110,12 +110,14 @@
|
||||
# undef HAVE_SDIO
|
||||
#endif
|
||||
|
||||
#undef SDIO_MINOR /* Any minor number, default 0 */
|
||||
#undef SDIO_MINOR /* Any minor number, default 0 */
|
||||
#define SDIO_SLOTNO 0 /* Only one slot */
|
||||
|
||||
#ifdef HAVE_SDIO
|
||||
|
||||
# if defined(CONFIG_NSH_MMCSDSLOTNO) && CONFIG_NSH_MMCSDSLOTNO != 0
|
||||
# if !defined(CONFIG_NSH_MMCSDSLOTNO)
|
||||
# define CONFIG_NSH_MMCSDSLOTNO SDIO_SLOTNO
|
||||
# elif CONFIG_NSH_MMCSDSLOTNO != 0
|
||||
# warning "Only one MMC/SD slot, slot 0"
|
||||
# undef CONFIG_NSH_MMCSDSLOTNO
|
||||
# define CONFIG_NSH_MMCSDSLOTNO SDIO_SLOTNO
|
||||
|
Loading…
Reference in New Issue
Block a user