boards: arm: Configure DAC driver on bl5340_dvk

Moves DAC driver configuration defaults from the application level to
the board level for the bl5340_dvk board.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
Maureen Helm 2021-10-25 17:53:07 -05:00 committed by Carles Cufí
commit fc9347cf52
4 changed files with 10 additions and 21 deletions

View file

@ -20,6 +20,16 @@ if BOARD_BL5340_DVK_CPUAPP
config NORDIC_QSPI_NOR
default y
if DAC
config DAC_MCP4725
default y
config I2C
default y
endif # DAC
endif # BOARD_BL5340_DVK_CPUAPP
# By default, if we build for a Non-Secure version of the board,

View file

@ -1,7 +0,0 @@
#
# Copyright (c) 2021 Laird Connectivity
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_I2C=y
CONFIG_DAC_MCP4725=y

View file

@ -1,7 +0,0 @@
#
# Copyright (c) 2021 Laird Connectivity
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_I2C=y
CONFIG_DAC_MCP4725=y

View file

@ -1,7 +0,0 @@
#
# Copyright (c) 2021 Laird Connectivity
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_I2C=y
CONFIG_DAC_MCP4725=y