shell: enable modules by default if shell is enabled
If shell is enabled then enable all sub-shells if their dependencies are satisfied. This was done for some modules and subsystems but was not consistent. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
7c85f4b2f5
commit
ee985d81aa
|
@ -17,6 +17,7 @@ if ADC
|
|||
|
||||
config ADC_SHELL
|
||||
bool "Enable ADC Shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
help
|
||||
Enable ADC Shell for testing.
|
||||
|
|
|
@ -19,6 +19,7 @@ source "subsys/logging/Kconfig.template.log_config"
|
|||
|
||||
config CAN_SHELL
|
||||
bool "Enable CAN Shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
help
|
||||
Enable CAN Shell for testing.
|
||||
|
|
|
@ -19,6 +19,7 @@ source "subsys/logging/Kconfig.template.log_config"
|
|||
|
||||
config DAC_SHELL
|
||||
bool "Enable DAC shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
help
|
||||
Enable DAC related shell commands.
|
||||
|
|
|
@ -16,6 +16,7 @@ source "subsys/logging/Kconfig.template.log_config"
|
|||
|
||||
config EEPROM_SHELL
|
||||
bool "Enable EEPROM shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
help
|
||||
Enable the EEPROM shell with EEPROM related commands.
|
||||
|
|
|
@ -31,6 +31,7 @@ source "subsys/logging/Kconfig.template.log_config"
|
|||
config FLASH_SHELL
|
||||
bool "Enable Flash shell"
|
||||
depends on SHELL && FLASH_PAGE_LAYOUT
|
||||
default y
|
||||
help
|
||||
Enable the flash shell with flash related commands such as test,
|
||||
write, read and erase.
|
||||
|
|
|
@ -15,6 +15,7 @@ config HWINFO_HAS_DRIVER
|
|||
|
||||
config HWINFO_SHELL
|
||||
bool "Enable HWINFO Shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
help
|
||||
Enable hwinfo Shell for testing.
|
||||
|
|
|
@ -20,6 +20,7 @@ source "subsys/logging/Kconfig.template.log_config"
|
|||
|
||||
config LORA_SHELL
|
||||
bool "Enable LoRa Shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
help
|
||||
Enable LoRa Shell for testing.
|
||||
|
|
|
@ -20,6 +20,7 @@ config PCIE_MSI
|
|||
|
||||
config PCIE_SHELL
|
||||
bool "Enable PCIe/new PCI Shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
help
|
||||
Enable commands for debugging PCI(e) using the built-in shell.
|
||||
|
|
|
@ -16,6 +16,7 @@ source "subsys/logging/Kconfig.template.log_config"
|
|||
|
||||
config PWM_SHELL
|
||||
bool "Enable PWM shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
help
|
||||
Enable the PWM related shell commands.
|
||||
|
|
|
@ -5,17 +5,20 @@
|
|||
|
||||
config KERNEL_SHELL
|
||||
bool "Enable kernel shell"
|
||||
default y
|
||||
help
|
||||
This shell provides access to basic kernel data like version, uptime
|
||||
and other useful information.
|
||||
|
||||
config DEVICE_SHELL
|
||||
bool "Enable device shell"
|
||||
default y
|
||||
help
|
||||
This shell provides access to basic device data.
|
||||
|
||||
config DATE_SHELL
|
||||
bool "Enable date shell"
|
||||
depends on POSIX_CLOCK
|
||||
default y
|
||||
help
|
||||
This shell provides access to date and time based on Unix time.
|
||||
|
|
Loading…
Reference in a new issue