zephyr/drivers/audio/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

66 lines
1.3 KiB
Plaintext

# Audio Codec configuration options
# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig AUDIO
bool "Audio drivers"
help
Enable support for Audio
if AUDIO
#
# Audio Codec options
#
menuconfig AUDIO_CODEC
bool "Audio Codec Drivers"
help
Enable Audio Codec Driver Configuration
if AUDIO_CODEC
config AUDIO_CODEC_INIT_PRIORITY
int "Init priority"
default 60
help
Audio codec device driver initialization priority.
config AUDIO_CODEC_SHELL
bool "Audio Codec shell"
depends on SHELL
help
Enable the Audio Codec shell with Audio Codec related commands.
module = AUDIO_CODEC
module-str = audio codec
source "subsys/logging/Kconfig.template.log_config"
source "drivers/audio/Kconfig.tas6422dac"
source "drivers/audio/Kconfig.tlv320dac"
endif # AUDIO_CODEC
menuconfig AUDIO_DMIC
bool "Digital Microphone (Audio) Drivers"
help
Enable Digital Microphone Driver Configuration
if AUDIO_DMIC
config AUDIO_DMIC_INIT_PRIORITY
int "Init priority"
default 80
help
Audio Digital Microphone device driver initialization priority.
module = AUDIO_DMIC
module-str = audio_dmic
source "subsys/logging/Kconfig.template.log_config"
source "drivers/audio/Kconfig.mpxxdtyy"
source "drivers/audio/Kconfig.dmic_pdm_nrfx"
endif # AUDIO_DMIC
endif # AUDIO