summaryrefslogtreecommitdiff
path: root/apps/examples/nsh/Kconfig
blob: a1848826b0b4d1f59238e68d4f77e8c9253fe459 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

config EXAMPLES_NSH
	bool "NuttShell (NSH) example"
	default n
	select NSH_LIBRARY
	select SYSTEM_READLINE
	---help---
		Enable the NuttShell (NSH) example

if EXAMPLES_NSH

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.

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.

endif