summaryrefslogtreecommitdiff
path: root/apps/nshlib/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib/Kconfig')
-rw-r--r--apps/nshlib/Kconfig30
1 files changed, 27 insertions, 3 deletions
diff --git a/apps/nshlib/Kconfig b/apps/nshlib/Kconfig
index 7fb6a52b3..8a9d1e900 100644
--- a/apps/nshlib/Kconfig
+++ b/apps/nshlib/Kconfig
@@ -6,13 +6,37 @@
config NSH_LIBRARY
bool "NSH Library"
default n
- select SYSTEM_READLINE
---help---
- Build the NSH support library. This is used, for example, by examples/nsh
- in order to implement the full NuttShell (NSH).
+ Build the NSH support library. This is used, for example, by
+ examples/nsh in order to implement the full NuttShell (NSH).
if NSH_LIBRARY
+choice
+ prompt "Command Line Editor"
+ default NSH_READLINE
+
+config NSH_READLINE
+ bool "Minimal readline()"
+ select SYSTEM_READLINE
+ ---help---
+ Selects the minimal implementation of readline(). This minimal
+ implementation provides on backspace for command line editing.
+
+config NSH_CLE
+ bool "Command Line Editor"
+ select SYSTEM_CLE
+ ---help---
+ Selects the more extensive, EMACS-like command line editor.
+ Select this option only if (1) you don't mind a modest increase
+ in the FLASH footprint, and (2) you work with a terminal that
+ support VT100 editing commands.
+
+ Selecting this option will add probably 1.5-2KB to the FLASH
+ footprint.
+
+endchoice
+
config NSH_BUILTIN_APPS
bool "Enable built-in applications"
default n