From 53b5f6dac9bbb442a22aa5c8756cfbe7a56aa601 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 25 Nov 2020 18:04:58 +0100 Subject: [PATCH] drivers/ds1307: add module to Kconfig --- drivers/Kconfig | 1 + drivers/ds1307/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/ds1307/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index b7d411f3ba..85b98738a4 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -21,6 +21,7 @@ menu "Miscellaneous Device Drivers" rsource "at/Kconfig" rsource "at24mac/Kconfig" rsource "disp_dev/Kconfig" +rsource "ds1307/Kconfig" rsource "edbg_eui/Kconfig" rsource "hd44780/Kconfig" rsource "ili9341/Kconfig" diff --git a/drivers/ds1307/Kconfig b/drivers/ds1307/Kconfig new file mode 100644 index 0000000000..b3706623b6 --- /dev/null +++ b/drivers/ds1307/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 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_DS1307 + bool "DS1307 real-time clock" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C