diff --git a/boards/common/microbit/Kconfig b/boards/common/microbit/Kconfig index b518c19096..1e3c33d740 100644 --- a/boards/common/microbit/Kconfig +++ b/boards/common/microbit/Kconfig @@ -7,5 +7,5 @@ config MODULE_MICROBIT bool "BBC micro:bit specific LED matrix handling" select MODULE_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC select MODULE_MINEPLEX diff --git a/drivers/at30tse75x/Kconfig b/drivers/at30tse75x/Kconfig index a028c4a208..ab2a725cbc 100644 --- a/drivers/at30tse75x/Kconfig +++ b/drivers/at30tse75x/Kconfig @@ -16,7 +16,7 @@ config MODULE_AT30TSE75X depends on TEST_KCONFIG select MODULE_PERIPH_I2C select MODULE_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC help AT30TSE75x temperature sensor with serial EEPROM. diff --git a/drivers/dsp0401/Kconfig b/drivers/dsp0401/Kconfig index b34a496efb..00e612c225 100644 --- a/drivers/dsp0401/Kconfig +++ b/drivers/dsp0401/Kconfig @@ -13,4 +13,4 @@ config MODULE_DSP0401 select MODULE_PERIPH_GPIO select MODULE_PERIPH_PWM select MODULE_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC diff --git a/drivers/sgp30/Kconfig b/drivers/sgp30/Kconfig index 3a1766478d..d9771a0f80 100644 --- a/drivers/sgp30/Kconfig +++ b/drivers/sgp30/Kconfig @@ -13,7 +13,7 @@ config MODULE_SGP30 select MODULE_PERIPH_I2C select MODULE_ZTIMER select MODULE_ZTIMER_PERIPH_TIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC config MODULE_SGP30_STRICT bool "Strict reading period" diff --git a/drivers/sm_pwm_01c/Kconfig b/drivers/sm_pwm_01c/Kconfig index 3fee1c6ad2..6b24b278de 100644 --- a/drivers/sm_pwm_01c/Kconfig +++ b/drivers/sm_pwm_01c/Kconfig @@ -12,7 +12,7 @@ menuconfig MODULE_SM_PWM_01C select MODULE_PERIPH_GPIO select MODULE_PERIPH_GPIO_IRQ select MODULE_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC select MODULE_ZTIMER_PERIPH_TIMER config MODULE_SM_PWM_01C_MA diff --git a/kconfigs/Kconfig.ztimer_only b/kconfigs/Kconfig.ztimer_only index 757d7741b2..d509398b26 100644 --- a/kconfigs/Kconfig.ztimer_only +++ b/kconfigs/Kconfig.ztimer_only @@ -8,7 +8,7 @@ config HAVE_ZTIMER_ONLY bool default y select MODULE_ZTIMER if MODULE_XTIMER - select MODULE_ZTIMER_USEC if MODULE_XTIMER + select MODULE_ZTIMER_PERIPH_TIMER if MODULE_XTIMER help Indicates that the board cannot generate a clock frequency suitable for xtimer and requires ztimer for conversion. ztimer is used as backend. diff --git a/pkg/driver_sx126x/Kconfig b/pkg/driver_sx126x/Kconfig index 8233a61e51..ff1b6a291b 100644 --- a/pkg/driver_sx126x/Kconfig +++ b/pkg/driver_sx126x/Kconfig @@ -11,7 +11,7 @@ config PACKAGE_DRIVER_SX126X depends on HAS_PERIPH_SPI select MODULE_PERIPH_SPI select MODULE_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC select MODULE_DRIVER_SX126X_HAL config MODULE_DRIVER_SX126X_HAL diff --git a/sys/arduino/Kconfig b/sys/arduino/Kconfig index 68ba7b80b7..7424271280 100644 --- a/sys/arduino/Kconfig +++ b/sys/arduino/Kconfig @@ -23,7 +23,7 @@ menuconfig MODULE_ARDUINO select MODULE_FMT select MODULE_ZTIMER select MODULE_ZTIMER_MSEC - select MODULE_ZTIMER_USEC + select ZTIMER_USEC config MODULE_ARDUINO_PWM bool "PWM support for Arduino" diff --git a/sys/benchmark/Kconfig b/sys/benchmark/Kconfig index c7f232df64..45bc2f8b38 100644 --- a/sys/benchmark/Kconfig +++ b/sys/benchmark/Kconfig @@ -8,5 +8,5 @@ config MODULE_BENCHMARK bool "Simple benchmarks support" select MODULE_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC depends on TEST_KCONFIG diff --git a/sys/event/Kconfig b/sys/event/Kconfig index 8a66481042..5ce394dac5 100644 --- a/sys/event/Kconfig +++ b/sys/event/Kconfig @@ -55,7 +55,7 @@ choice EVENT_TIMEOUT_IMPLEMENTATION config EVENT_TIMEOUT_ON_ZTIMER bool "Use ztimer as backend" select MODULE_EVENT_TIMEOUT_ZTIMER - select MODULE_ZTIMER_USEC + select ZTIMER_USEC config EVENT_TIMEOUT_ON_XTIMER bool "Use xtimer as backend" diff --git a/sys/ztimer/Kconfig b/sys/ztimer/Kconfig index 2537cb7367..055a9085ef 100644 --- a/sys/ztimer/Kconfig +++ b/sys/ztimer/Kconfig @@ -43,11 +43,11 @@ menu "Clocks" config ZTIMER_USEC bool "Microseconds" select MODULE_ZTIMER_USEC + select MODULE_ZTIMER_PERIPH_TIMER select MODULE_ZTIMER config MODULE_ZTIMER_USEC bool - select MODULE_ZTIMER_PERIPH_TIMER config MODULE_ZTIMER_MSEC bool "Milliseconds" @@ -135,7 +135,7 @@ menu "xtimer and evtimer compatibility" choice bool "xtimer compatibility" - depends on MODULE_XTIMER && MODULE_ZTIMER + depends on MODULE_XTIMER && MODULE_ZTIMER && MODULE_ZTIMER_PERIPH_TIMER config MODULE_XTIMER_ON_ZTIMER bool "ztimer_usec as timer backend for xtimer"