mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 11:39:46 +08:00
8a5ba4539c
Add shell commands for controlling digital-to-analog (DAC) devices. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
31 lines
524 B
Plaintext
31 lines
524 B
Plaintext
# DAC configuration options
|
|
|
|
# Copyright (c) 2020 Libre Solar Technologies GmbH
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
# DAC options
|
|
#
|
|
menuconfig DAC
|
|
bool "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 "Enable DAC shell"
|
|
depends on SHELL
|
|
help
|
|
Enable DAC related shell commands.
|
|
|
|
source "drivers/dac/Kconfig.mcux"
|
|
|
|
source "drivers/dac/Kconfig.stm32"
|
|
|
|
endif # DAC
|