summaryrefslogtreecommitdiff
path: root/apps/examples/nsh/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nsh/Kconfig')
-rw-r--r--apps/examples/nsh/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/examples/nsh/Kconfig b/apps/examples/nsh/Kconfig
index 309aa925e..bbb5ece01 100644
--- a/apps/examples/nsh/Kconfig
+++ b/apps/examples/nsh/Kconfig
@@ -12,4 +12,16 @@ config EXAMPLES_NSH
Enable the NuttShell (NSH) example
if EXAMPLES_NSH
+
+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