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:
parent
1d7d294a58
commit
fc9347cf52
4 changed files with 10 additions and 21 deletions
|
@ -20,6 +20,16 @@ if BOARD_BL5340_DVK_CPUAPP
|
||||||
config NORDIC_QSPI_NOR
|
config NORDIC_QSPI_NOR
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
if DAC
|
||||||
|
|
||||||
|
config DAC_MCP4725
|
||||||
|
default y
|
||||||
|
|
||||||
|
config I2C
|
||||||
|
default y
|
||||||
|
|
||||||
|
endif # DAC
|
||||||
|
|
||||||
endif # BOARD_BL5340_DVK_CPUAPP
|
endif # BOARD_BL5340_DVK_CPUAPP
|
||||||
|
|
||||||
# By default, if we build for a Non-Secure version of the board,
|
# By default, if we build for a Non-Secure version of the board,
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (c) 2021 Laird Connectivity
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_DAC_MCP4725=y
|
|
|
@ -1,7 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (c) 2021 Laird Connectivity
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_DAC_MCP4725=y
|
|
|
@ -1,7 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (c) 2021 Laird Connectivity
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_DAC_MCP4725=y
|
|
Loading…
Add table
Add a link
Reference in a new issue