zephyr/drivers/dac/Kconfig
Henrik Brix Andersen c0c8952739 shell: do not enable subsystem/driver shell modules by default
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>
2023-11-20 09:21:40 +01:00

59 lines
1.1 KiB
Plaintext

# DAC configuration options
# Copyright (c) 2020 Libre Solar Technologies GmbH
# SPDX-License-Identifier: Apache-2.0
#
# DAC options
#
menuconfig DAC
bool "Digital-to-Analog Converter (DAC) drivers"
help
Enable DAC (Digital to Analog Converter) driver configuration.
if DAC
module = DAC
module-str = DAC
source "subsys/logging/Kconfig.template.log_config"
config DAC_SHELL
bool "DAC shell"
depends on SHELL
help
Enable DAC related shell commands.
config DAC_INIT_PRIORITY
int "DAC init priority"
default KERNEL_INIT_PRIORITY_DEVICE
help
DAC driver device initialization priority.
source "drivers/dac/Kconfig.mcux"
source "drivers/dac/Kconfig.stm32"
source "drivers/dac/Kconfig.sam"
source "drivers/dac/Kconfig.sam0"
source "drivers/dac/Kconfig.dacx0508"
source "drivers/dac/Kconfig.dacx3608"
source "drivers/dac/Kconfig.ltc166x"
source "drivers/dac/Kconfig.mcp4725"
source "drivers/dac/Kconfig.mcp4728"
source "drivers/dac/Kconfig.gd32"
source "drivers/dac/Kconfig.esp32"
source "drivers/dac/Kconfig.ad56xx"
source "drivers/dac/Kconfig.ad5592"
endif # DAC