# 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 select MODULE_DIV if !MODULE_ZTIMER_XTIMER_COMPAT select ZTIMER_USEC if !MODULE_XTIMER_NO_ZTIMER_DEFAULT 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" config MODULE_AUTO_INIT_XTIMER bool "Auto-init xtimer" default y if MODULE_AUTO_INIT && !MODULE_ZTIMER_XTIMER_COMPAT endif # MODULE_XTIMER