mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/xtimer/kconfig: fix dependencies
This commit is contained in:
parent
6625a15bf6
commit
61a10db288
@ -7,9 +7,12 @@
|
|||||||
|
|
||||||
menuconfig MODULE_XTIMER
|
menuconfig MODULE_XTIMER
|
||||||
bool "xtimer"
|
bool "xtimer"
|
||||||
select MODULE_PERIPH_TIMER if HAS_PERIPH_TIMER && !MODULE_XTIMER_ON_ZTIMER
|
depends on HAS_PERIPH_TIMER || MODULE_XTIMER_ON_ZTIMER || MODULE_ZTIMER_XTIMER_COMPAT
|
||||||
depends on HAS_PERIPH_TIMER && !MODULE_XTIMER_ON_ZTIMER || MODULE_XTIMER_ON_ZTIMER
|
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
|
# use timer peripheral unless ztimer compatibility module is used
|
||||||
|
select MODULE_PERIPH_TIMER if HAS_PERIPH_TIMER && !MODULE_XTIMER_ON_ZTIMER && !MODULE_ZTIMER_XTIMER_COMPAT
|
||||||
|
|
||||||
select MODULE_DIV if !MODULE_ZTIMER_XTIMER_COMPAT
|
select MODULE_DIV if !MODULE_ZTIMER_XTIMER_COMPAT
|
||||||
help
|
help
|
||||||
Include xtimer module. xtimer requires a low-level timer implementation
|
Include xtimer module. xtimer requires a low-level timer implementation
|
||||||
@ -18,6 +21,5 @@ menuconfig MODULE_XTIMER
|
|||||||
|
|
||||||
config MODULE_AUTO_INIT_XTIMER
|
config MODULE_AUTO_INIT_XTIMER
|
||||||
bool "Auto-init xtimer"
|
bool "Auto-init xtimer"
|
||||||
default y if MODULE_AUTO_INIT
|
default y if MODULE_AUTO_INIT && !MODULE_ZTIMER_XTIMER_COMPAT
|
||||||
depends on !MODULE_ZTIMER_XTIMER_COMPAT
|
|
||||||
depends on MODULE_XTIMER
|
depends on MODULE_XTIMER
|
||||||
|
Loading…
Reference in New Issue
Block a user