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
Leandro Lanzieri 2e79e00ca7
treewide: change Kconfig prefix for module symbols
This changes the prefix used for the symbols that reprensent modules
(not the ones generated from USEMODULE).

MOD_ => MODULE_
2020-08-31 09:57:28 +02:00

33 lines
968 B
SYSTEMD

# 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_PERIPH_TIMER
bool "Timer peripheral driver"
depends on HAS_PERIPH_TIMER
select MODULE_PERIPH_COMMON
if MODULE_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 MODULE_PERIPH_INIT_TIMER
bool "Auto initialize Timer peripheral"
default y if MODULE_PERIPH_INIT
config MODULE_PERIPH_TIMER_PERIODIC
bool "Periodic timeout support"
depends on HAS_PERIPH_TIMER_PERIODIC
config MODULE_PERIPH_INIT_TIMER_PERIODIC
bool
depends on MODULE_PERIPH_TIMER_PERIODIC
default y if MODULE_PERIPH_INIT
endif # MODULE_PERIPH_TIMER