From ded45e8d5f2a54932afd98f977878a11c78c6343 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 17:22:09 +0100 Subject: [PATCH] drivers/pulse_counter: add module to Kconfig --- drivers/Kconfig | 1 + drivers/pulse_counter/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/pulse_counter/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 4e9dfbc5d3..a168980c85 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -85,6 +85,7 @@ rsource "pca9685/Kconfig" rsource "pcd8544/Kconfig" rsource "ph_oem/Kconfig" rsource "pir/Kconfig" +rsource "pulse_counter/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/pulse_counter/Kconfig b/drivers/pulse_counter/Kconfig new file mode 100644 index 0000000000..6221b4e017 --- /dev/null +++ b/drivers/pulse_counter/Kconfig @@ -0,0 +1,15 @@ +# 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_PULSE_COUNTER + bool "Pulse counter" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_GPIO_IRQ + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ + select MODULE_XTIMER