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

29 lines
890 B
Plaintext
Raw Normal View History

2020-04-20 14:45:40 +02:00
# Copyright (c) 2020 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.
#
menuconfig MODULE_XTIMER
bool "xtimer"
depends on HAS_PERIPH_TIMER
select MODULE_PERIPH_TIMER
2020-04-20 14:45:40 +02:00
select MODULE_DIV if !MODULE_ZTIMER_XTIMER_COMPAT
select ZTIMER_USEC if !MODULE_XTIMER_NO_ZTIMER_DEFAULT
2020-04-20 14:45:40 +02:00
help
Include xtimer module. xtimer requires a low-level timer implementation
that can be provided either by a peripheral timer or the ztimer module
when MODULE_XTIMER_ON_ZTIMER is enabled.
if MODULE_XTIMER
config MODULE_XTIMER_NO_ZTIMER_DEFAULT
bool "xtimer does not select ztimer"
2020-04-20 14:45:40 +02:00
config MODULE_AUTO_INIT_XTIMER
bool "Auto-init xtimer"
2021-01-07 13:21:59 +01:00
default y if MODULE_AUTO_INIT && !MODULE_ZTIMER_XTIMER_COMPAT
endif # MODULE_XTIMER