shell: Enable backends via Kconfig file
Added functionality to enable active shell backends via Kconfig file. When there will be more backends implemented user will have an option to select only required ones. It is no longer needed to select SERIAL in prj.conf. Fixes #10190 Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
dc8bbce357
commit
bc6da1c34a
4 changed files with 30 additions and 2 deletions
|
@ -38,13 +38,13 @@ menuconfig SHELL
|
|||
bool "Enable shell"
|
||||
select LOG_RUNTIME_FILTERING
|
||||
select POLL
|
||||
depends on SERIAL
|
||||
|
||||
if SHELL
|
||||
|
||||
module = SHELL
|
||||
module-str = Shell
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
source "subsys/shell/Kconfig.backends"
|
||||
|
||||
config SHELL_STACK_SIZE
|
||||
int "Shell thread stack size"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue