c0c8952739
Do not enable subsystem/driver shell modules by default and stop abusing CONFIG_SHELL_MINIMAL, which is internal to the shell subsystem, to decide when to enable a driver shell. The list of shell modules has grown considerably through the years. Enabling CONFIG_SHELL for doing e.g. an interactive debug session leads to a large number of shell modules also being enabled unless explicitly disabled, which again leads to non-negligible increases in RAM/ROM usage. This commit attempts to establish a policy of subsystem/driver shell modules being disabled by default, requiring the user/application to explicitly enable only those needed. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
37 lines
658 B
Plaintext
37 lines
658 B
Plaintext
#
|
|
# Copyright (c) 2019 Manivannan Sadhasivam
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Top-level configuration file for LORA drivers.
|
|
|
|
menuconfig LORA
|
|
bool "LoRa drivers [EXPERIMENTAL]"
|
|
select POLL
|
|
select EXPERIMENTAL
|
|
help
|
|
Include LoRa drivers in the system configuration.
|
|
|
|
if LORA
|
|
|
|
module = LORA
|
|
module-str = lora
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
config LORA_SHELL
|
|
bool "LoRa Shell"
|
|
depends on SHELL
|
|
help
|
|
Enable LoRa Shell for testing.
|
|
|
|
config LORA_INIT_PRIORITY
|
|
int "LoRa initialization priority"
|
|
default 90
|
|
help
|
|
System initialization priority for LoRa drivers.
|
|
|
|
source "drivers/lora/Kconfig.sx12xx"
|
|
|
|
endif # LORA
|