File tree 3 files changed +510
-0
lines changed 3 files changed +510
-0
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,8 @@ zephyr_sources_ifdef(
23
23
CONFIG_SHELL_HISTORY
24
24
shell_history.c
25
25
)
26
+
27
+ zephyr_sources_ifdef(
28
+ CONFIG_SHELL_CMDS
29
+ shell_cmds.c
30
+ )
Original file line number Diff line number Diff line change @@ -135,4 +135,20 @@ config SHELL_HISTORY_BUFFER
135
135
136
136
endif #SHELL_HISTORY
137
137
138
+ config SHELL_CMDS
139
+ bool "Enable built-in commands"
140
+ default y
141
+ help
142
+ Enable built-in commands like 'clear', 'history', etc.
143
+
144
+ config SHELL_CMDS_RESIZE
145
+ bool "Enable resize command"
146
+ depends on SHELL_CMDS
147
+ default y
148
+ help
149
+ By default shell assumes width of a terminal screen set to 80
150
+ characters. Each time terminal screen width is changed resize command
151
+ must be called to ensure correct text display on the terminal screen.
152
+ Resize command can be turned off to safe code memory (~0,5k).
153
+
138
154
endif #SHELL
You can’t perform that action at this time.
0 commit comments