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

drivers/rtt_rtc: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2021-01-05 14:06:03 +01:00
parent 7f8ae85d36
commit 4ccf5df6d3
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 16 additions and 0 deletions

View File

@ -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"

15
drivers/rtt_rtc/Kconfig Normal file
View File

@ -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.