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:
parent
3bdbd67b70
commit
7036388769
@ -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"
|
||||
|
@ -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 \
|
||||
|
@ -9,3 +9,4 @@ config APPLICATION
|
||||
bool
|
||||
default y
|
||||
imply MODULE_PERIPH_RTC_MEM
|
||||
imply MODULE_PERIPH_RTC_MS
|
||||
|
Loading…
Reference in New Issue
Block a user