CONFIG_MCUMGR_CMD_SHELL_MGMT
Enable mcumgr handlers for shell management
Type: bool
Help
Enables mcumgr handlers for shell management. The handler will utilize
the dummy backend to execute shell commands and capture the output to
an internal memory buffer. This way, there is no interaction with
physical interfaces outside of the scope of the user.
It is possible to use additional shell backends in coordination
with this handler and they will not interfere.
The SHELL_BACKEND_DUMMY_BUF_SIZE will affect how many characters
will be returned from command output, if your output gets cut, then
increase the value. Remember to set MCUMGR_BUF_SIZE accordingly.
Direct dependencies
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n
.
Symbols selected by this symbol
Kconfig definition
At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:134
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:35
→ <Zephyr>/subsys/mgmt/Kconfig:9
Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers
config MCUMGR_CMD_SHELL_MGMT
bool "Enable mcumgr handlers for shell management"
select SHELL_BACKEND_DUMMY
depends on SHELL && MCUMGR
help
Enables mcumgr handlers for shell management. The handler will utilize
the dummy backend to execute shell commands and capture the output to
an internal memory buffer. This way, there is no interaction with
physical interfaces outside of the scope of the user.
It is possible to use additional shell backends in coordination
with this handler and they will not interfere.
The SHELL_BACKEND_DUMMY_BUF_SIZE will affect how many characters
will be returned from command output, if your output gets cut, then
increase the value. Remember to set MCUMGR_BUF_SIZE accordingly.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)