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.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
config MODULE_PERIPH_RTC
|
menuconfig MODULE_PERIPH_RTC
|
||||||
bool "RTC peripheral driver"
|
bool "RTC peripheral driver"
|
||||||
depends on HAS_PERIPH_RTC
|
depends on HAS_PERIPH_RTC
|
||||||
select MODULE_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
|
if MODULE_PERIPH_RTC
|
||||||
|
|
||||||
config MODULE_PERIPH_INIT_RTC
|
config MODULE_PERIPH_INIT_RTC
|
||||||
bool "Auto initialize RTC peripheral"
|
bool "Auto initialize RTC peripheral"
|
||||||
default y if MODULE_PERIPH_INIT
|
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
|
config MODULE_PERIPH_RTC_MEM
|
||||||
bool "Low-Power RTC Memory"
|
bool "Low-Power RTC Memory"
|
||||||
|
|||||||
@ -14,6 +14,7 @@ ifneq (,$(filter periph_init, $(USEMODULE)))
|
|||||||
PERIPH_IGNORE_MODULES := \
|
PERIPH_IGNORE_MODULES := \
|
||||||
periph_init% \
|
periph_init% \
|
||||||
periph_common \
|
periph_common \
|
||||||
|
periph_rtc_ms \
|
||||||
periph_rtc_rtt \
|
periph_rtc_rtt \
|
||||||
periph_clic \
|
periph_clic \
|
||||||
periph_coretimer \
|
periph_coretimer \
|
||||||
|
|||||||
@ -9,3 +9,4 @@ config APPLICATION
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
imply MODULE_PERIPH_RTC_MEM
|
imply MODULE_PERIPH_RTC_MEM
|
||||||
|
imply MODULE_PERIPH_RTC_MS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user