From 2cc5af664e7a9ffd5f649c91a45c5983592766b1 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Wed, 16 Mar 2022 12:53:45 +0100 Subject: [PATCH] treewide: make all modules use Kconfig ZTIMER_USEC indirection --- cpu/qn908x/periph/Kconfig | 4 +--- drivers/ccs811/Kconfig | 4 +--- pkg/u8g2/Kconfig | 3 +-- pkg/ucglib/Kconfig | 3 +-- sys/trace/Kconfig | 4 +--- 5 files changed, 5 insertions(+), 13 deletions(-) diff --git a/cpu/qn908x/periph/Kconfig b/cpu/qn908x/periph/Kconfig index a6cde85790..84d2249a34 100644 --- a/cpu/qn908x/periph/Kconfig +++ b/cpu/qn908x/periph/Kconfig @@ -21,6 +21,4 @@ config MODULE_PERIPH_GPIO_MUX config MODULE_PERIPH_ADC bool "ADC peripheral driver" depends on HAS_PERIPH_ADC - select MODULE_ZTIMER - select MODULE_ZTIMER_USEC - select MODULE_ZTIMER_PERIPH_TIMER + select ZTIMER_USEC diff --git a/drivers/ccs811/Kconfig b/drivers/ccs811/Kconfig index 0a6fecb79f..a70f787c67 100644 --- a/drivers/ccs811/Kconfig +++ b/drivers/ccs811/Kconfig @@ -14,9 +14,7 @@ menuconfig MODULE_CCS811 depends on TEST_KCONFIG select MODULE_PERIPH_GPIO select MODULE_PERIPH_I2C - select MODULE_ZTIMER - select MODULE_ZTIMER_USEC - select MODULE_ZTIMER_PERIPH_TIMER + select ZTIMER_USEC config MODULE_CCS811_FULL bool "Full functionalities" diff --git a/pkg/u8g2/Kconfig b/pkg/u8g2/Kconfig index 80ab54d0a4..9f5db5ee77 100644 --- a/pkg/u8g2/Kconfig +++ b/pkg/u8g2/Kconfig @@ -10,8 +10,7 @@ config PACKAGE_U8G2 depends on TEST_KCONFIG depends on HAS_PERIPH_GPIO select MODULE_PERIPH_GPIO - select MODULE_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC select MODULE_U8G2_RIOT select MODULE_U8G2_CSRC diff --git a/pkg/ucglib/Kconfig b/pkg/ucglib/Kconfig index 5e40bcbe9b..9d181b1d12 100644 --- a/pkg/ucglib/Kconfig +++ b/pkg/ucglib/Kconfig @@ -10,8 +10,7 @@ config PACKAGE_UCGLIB depends on TEST_KCONFIG depends on HAS_PERIPH_GPIO select MODULE_PERIPH_GPIO - select MODULE_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC select MODULE_UCGLIB_RIOT select MODULE_UCGLIB_CSRC diff --git a/sys/trace/Kconfig b/sys/trace/Kconfig index e9f7edcc3c..db3ebce9be 100644 --- a/sys/trace/Kconfig +++ b/sys/trace/Kconfig @@ -8,6 +8,4 @@ config MODULE_TRACE bool "Trace program flows" depends on TEST_KCONFIG - select MODULE_ZTIMER - select MODULE_ZTIMER_USEC - select MODULE_ZTIMER_PERIPH_TIMER + select ZTIMER_USEC