mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
|
# Copyright (c) 2021 Inria
|
||
|
#
|
||
|
# 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.
|
||
|
#
|
||
|
|
||
|
menu "ztimer64 - High level timer abstraction layer"
|
||
|
|
||
|
# TODO: this extra indirection in the entry point for ztimer_usec is required
|
||
|
# to allow xtimer compatibility modules to depend on ztimer being there while
|
||
|
# still selecting ztimer_usec.
|
||
|
config ZTIMER64_USEC
|
||
|
bool "Microseconds 64bit Timer"
|
||
|
select ZTIMER_USEC
|
||
|
select MODULE_ZTIMER64
|
||
|
select MODULE_ZTIMER64_USEC
|
||
|
|
||
|
config MODULE_ZTIMER64_USEC
|
||
|
bool
|
||
|
select MODULE_ZTIMER_USEC
|
||
|
|
||
|
config MODULE_ZTIMER64_MSEC
|
||
|
bool "Milliseconds 64bit Timer"
|
||
|
select MODULE_ZTIMER_MSEC
|
||
|
|
||
|
config MODULE_ZTIMER64_SEC
|
||
|
bool "Milliseconds 64bit Timer"
|
||
|
select MODULE_ZTIMER_SEC
|
||
|
|
||
|
config MODULE_ZTIMER64_INIT
|
||
|
bool
|
||
|
|
||
|
config MODULE_ZTIMER64
|
||
|
bool
|
||
|
depends on TEST_KCONFIG
|
||
|
|
||
|
if MODULE_ZTIMER64
|
||
|
config MODULE_AUTO_INIT_ZTIMER64
|
||
|
bool "Auto initialize ztimer64"
|
||
|
depends on MODULE_AUTO_INIT
|
||
|
select MODULE_ZTIMER_INIT
|
||
|
select MODULE_ZTIMER64_INIT
|
||
|
default y
|
||
|
endif # MODULE_ZTIMER64
|
||
|
|
||
|
endmenu
|