From 4ccf5df6d32e7e01dfeafd7979313006793c6d1b Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 14:06:03 +0100 Subject: [PATCH] drivers/rtt_rtc: add module to Kconfig --- drivers/Kconfig | 1 + drivers/rtt_rtc/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/rtt_rtc/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 53e5672701..edba6fd645 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -42,6 +42,7 @@ rsource "Kconfig.net" menu "Peripherals drivers" rsource "periph_common/Kconfig" +rsource "rtt_rtc/Kconfig" endmenu # Peripherals drivers menu "Sensor Device Drivers" diff --git a/drivers/rtt_rtc/Kconfig b/drivers/rtt_rtc/Kconfig new file mode 100644 index 0000000000..0b4361bd79 --- /dev/null +++ b/drivers/rtt_rtc/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_RTT_RTC + bool "RTC-based RTT" + depends on HAS_PERIPH_RTT + depends on TEST_KCONFIG + select MODULE_PERIPH_RTT + select HAS_PERIPH_RTC # provides RTC + help + Basic RTC implementation based on a RTT.