apps/nshlib: Add support to use SLCD as NSH Console

This commit is contained in:
Alan Carvalho de Assis
2018-11-29 18:41:42 -06:00
committed by Gregory Nutt
parent 521052ae1f
commit c21d640eaf
5 changed files with 186 additions and 22 deletions

View File

@@ -47,7 +47,8 @@
#include "nsh.h"
#include "nsh_console.h"
#if !defined(HAVE_USB_CONSOLE) && !defined(HAVE_USB_KEYBOARD)
#if !defined(HAVE_USB_CONSOLE) && !defined(HAVE_USB_KEYBOARD) && \
!defined(HAVE_SLCD_CONSOLE)
/****************************************************************************
* Public Functions
@@ -117,4 +118,4 @@ int nsh_consolemain(int argc, char *argv[])
return ret;
}
#endif /* !HAVE_USB_CONSOLE && !HAVE_USB_KEYBOARD */
#endif /* !HAVE_USB_CONSOLE && !HAVE_USB_KEYBOARD !HAVE_SLCD_CONSOLE */