1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/mcp47xx: add Kconfig

This commit is contained in:
Gunar Schorcht 2021-12-07 00:53:00 +01:00
parent 1aa3584786
commit 739fbf41fb
3 changed files with 20 additions and 0 deletions

View File

@ -19,6 +19,7 @@ rsource "dynamixel/Kconfig"
rsource "feetech/Kconfig"
rsource "grove_ledbar/Kconfig"
rsource "motor_driver/Kconfig"
rsource "mcp47xx/Kconfig"
rsource "my9221/Kconfig"
rsource "rgbled/Kconfig"
rsource "servo/Kconfig"

14
drivers/mcp47xx/Kconfig Normal file
View File

@ -0,0 +1,14 @@
# Copyright (c) 2021 Gunar Schorcht
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig MODULE_MCP47XX
bool "MCP47xx DAC with I2C interface"
depends on HAS_PERIPH_I2C
select MODULE_PERIPH_I2C
help
Driver for Microchip MCP47xx DAC devices with I2C interfaces. The
driver supports MCP4706, MCP4716, MCP4725, MCP4726 and MCP4728.

View File

@ -0,0 +1,5 @@
# this file enables modules defined in Kconfig. Do not use this file for
# application configuration. This is only needed during migration.
CONFIG_MODULE_MCP47XX=y
CONFIG_MODULE_SHELL=y
CONFIG_MODULE_BENCHMARK=y