# Copyright (c) 2023 Intel Corporation
# Copyright (c) 2025 Renesas Electronics Corporation
#
# SPDX-License-Identifier: Apache-2.0

mainmenu "ADC accuracy test"

source "Kconfig.zephyr"

# Workaround to have commas on function arguments
ZEPHYR_USER := zephyr,user

config DAC_SOURCE_TEST
	bool
	select DAC
	default y if $(dt_node_has_prop,/$(ZEPHYR_USER),dac)

config REFERENCE_VOLTAGE_TEST
	bool
	default y if $(dt_node_has_prop,/$(ZEPHYR_USER),reference-mv)

config NUMBER_OF_PASSES
	int "Number of passes"
	default 5

if DAC_SOURCE_TEST

config DAC_BUFFER_NOT_SUPPORTED
	bool "DAC on board/SoC does not support output buffer mode"
	help
	  If this config is selected, the test will run with no output buffer enabled

endif # DAC_SOURCE_TEST
