2012-04-06 16:33:17 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 08:14:53 -06:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 16:33:17 +00:00
|
|
|
#
|
2012-04-13 02:14:09 +00:00
|
|
|
|
|
|
|
config EXAMPLES_NSH
|
|
|
|
bool "NuttShell (NSH) example"
|
|
|
|
default n
|
2012-09-05 12:45:35 +00:00
|
|
|
select NSH_LIBRARY
|
|
|
|
select SYSTEM_READLINE
|
2012-04-13 02:14:09 +00:00
|
|
|
---help---
|
|
|
|
Enable the NuttShell (NSH) example
|
|
|
|
|
|
|
|
if EXAMPLES_NSH
|
2013-06-21 09:32:57 -06:00
|
|
|
|
2018-07-13 06:27:59 -06:00
|
|
|
config EXAMPLES_NSH_SYMTAB
|
|
|
|
bool "Register symbol table"
|
|
|
|
default n
|
|
|
|
depends on LIBC_EXECFUNCS && LIB_BOARDCTL && !EXECFUNCS_HAVE_SYMTAB
|
|
|
|
select BOARDCTL_APP_SYMTAB
|
|
|
|
---help---
|
|
|
|
Enable logic to automatically register an application symbol table
|
|
|
|
as part of NSH initialization. If enabled, then application logic
|
|
|
|
must provide the following:
|
|
|
|
|
|
|
|
const struct symtab_s g_exports[];
|
|
|
|
const int g_nexports;
|
|
|
|
|
|
|
|
Where g_exports is the name of the exported application symbol table
|
|
|
|
and g_nexports holds the number of entries in the application symbol
|
|
|
|
table.
|
|
|
|
|
2014-09-06 11:17:05 -06:00
|
|
|
config EXAMPLES_NSH_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "nsh"
|
|
|
|
depends on BUILD_KERNEL
|
|
|
|
---help---
|
|
|
|
This is the name of the program that will be use when the NSH ELF
|
|
|
|
program is installed.
|
|
|
|
|
2013-06-21 09:32:57 -06:00
|
|
|
config EXAMPLES_NSH_CXXINITIALIZE
|
|
|
|
bool "C++ Initialization"
|
|
|
|
default n
|
|
|
|
depends on HAVE_CXX && HAVE_CXXINITIALIZE
|
|
|
|
---help---
|
|
|
|
If HAVE_CXX and HAVE_CXXINITIALIZE are slected, then this NSH
|
|
|
|
example can be configured to initialize C++ constructors when it
|
|
|
|
is started. NSH does not use C++ and, by default, assumes that
|
|
|
|
constructors are initialized elsewhere. However, you can force
|
|
|
|
NSH to initialize constructors by setting this option.
|
|
|
|
|
2012-04-13 02:14:09 +00:00
|
|
|
endif
|