From 20f76a368d31089608bac87088b8ef18c2b02126 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 11:41:34 +0100 Subject: [PATCH] drivers/pca9685: add module to Kconfig --- drivers/Kconfig | 1 + drivers/pca9685/Kconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 drivers/pca9685/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 1673e0bd79..787220c36c 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -81,6 +81,7 @@ rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" +rsource "pca9685/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/pca9685/Kconfig b/drivers/pca9685/Kconfig new file mode 100644 index 0000000000..4eb7bf8c85 --- /dev/null +++ b/drivers/pca9685/Kconfig @@ -0,0 +1,16 @@ +# Copyright (c) 2021 HAW Hamburg +# +# 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. +# + +config MODULE_PCA9685 + bool "PCA9685 I2C PWM controller" + depends on !HAS_CPU_EFM32 # efm32 CPU doesn't support PWM_RIGHT + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_I2C + select MODULE_XTIMER