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

33 lines
938 B
SYSTEMD
Raw Normal View History

# 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 MOD_PERIPH_TIMER
bool "Timer peripheral driver"
depends on HAS_PERIPH_TIMER
select MOD_PERIPH_COMMON
if MOD_PERIPH_TIMER
# TODO: the 'init' modules are actually just artifacts from the way
# periph_init_% modules are handled in Makefile. We need to define them to keep
# the list the same for now. We should be able to remove them later on.
config MOD_PERIPH_INIT_TIMER
bool "Auto initialize Timer peripheral"
default y if MOD_PERIPH_INIT
config MOD_PERIPH_TIMER_PERIODIC
bool "Periodic timeout support"
depends on HAS_PERIPH_TIMER_PERIODIC
config MOD_PERIPH_INIT_TIMER_PERIODIC
bool
depends on MOD_PERIPH_TIMER_PERIODIC
default y if MOD_PERIPH_INIT
endif # MOD_PERIPH_TIMER