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

drivers/periph_common: add RTC ms module to Kconfig

This commit is contained in:
Leandro Lanzieri 2021-11-11 15:37:01 +01:00
parent 3bdbd67b70
commit 7036388769
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
3 changed files with 14 additions and 2 deletions

View File

@ -5,15 +5,25 @@
# directory for more details.
#
config MODULE_PERIPH_RTC
menuconfig MODULE_PERIPH_RTC
bool "RTC peripheral driver"
depends on HAS_PERIPH_RTC
select MODULE_PERIPH_COMMON
if MODULE_PERIPH_RTC
config MODULE_PERIPH_INIT_RTC
bool "Auto initialize RTC peripheral"
default y if MODULE_PERIPH_INIT
depends on MODULE_PERIPH_RTC
config MODULE_PERIPH_RTC_MS
bool "Support for time with sub-second component"
depends on HAS_PERIPH_RTC_MS
help
Provides an interface to access the RTC time with a sub-second
component.
endif #MODULE_PERIPH_RTC
config MODULE_PERIPH_RTC_MEM
bool "Low-Power RTC Memory"

View File

@ -14,6 +14,7 @@ ifneq (,$(filter periph_init, $(USEMODULE)))
PERIPH_IGNORE_MODULES := \
periph_init% \
periph_common \
periph_rtc_ms \
periph_rtc_rtt \
periph_clic \
periph_coretimer \

View File

@ -9,3 +9,4 @@ config APPLICATION
bool
default y
imply MODULE_PERIPH_RTC_MEM
imply MODULE_PERIPH_RTC_MS