mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ztimer: remove duplicate dependencies
This commit is contained in:
parent
c80390f28b
commit
3e4e664071
@ -6,12 +6,6 @@ USEMODULE += iolist
|
||||
USEMODULE += ztimer_usec
|
||||
USEMODULE += ztimer_msec
|
||||
|
||||
# If RTT feature is available use the RTT backend of ztimer
|
||||
FEATURES_OPTIONAL += periph_rtt
|
||||
ifneq (,$(filter periph_rtt,$(FEATURES_USED)))
|
||||
USEMODULE += ztimer_periph_rtt
|
||||
endif
|
||||
|
||||
USEMODULE += lora
|
||||
|
||||
ifneq (,$(filter gnrc,$(USEMODULE)))
|
||||
|
@ -2,10 +2,6 @@
|
||||
USEMODULE += sema
|
||||
USEMODULE += event_callback
|
||||
USEMODULE += ztimer_msec
|
||||
# all nRF CPUs support hardware RTT, so we use it
|
||||
ifneq (,$(filter nrf5%,$(CPU_FAM)))
|
||||
USEMODULE += ztimer_periph_rtt
|
||||
endif
|
||||
|
||||
# Requires nimble feature
|
||||
FEATURES_REQUIRED += ble_nimble
|
||||
|
@ -74,10 +74,6 @@ endif
|
||||
ifneq (,$(filter openwsn_sctimer_ztimer,$(USEMODULE)))
|
||||
USEMODULE += ztimer_usec
|
||||
USEMODULE += ztimer_msec
|
||||
FEATURES_OPTIONAL += periph_rtt
|
||||
ifneq (,$(filter periph_rtt,$(FEATURES_USED)))
|
||||
USEMODULE += ztimer_periph_rtt
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter openwsn_sctimer_rtt,$(USEMODULE)))
|
||||
|
@ -72,13 +72,5 @@ ifneq (,$(filter at86rf2xx,$(USEMODULE)))
|
||||
CFLAGS += -DAT86RF2XX_BASIC_MODE
|
||||
endif
|
||||
|
||||
# We want the highest possible frequency set for periph_rtt, but not all
|
||||
# platforms can configure this value. use highest possible RTT_FREQUENCY
|
||||
# for platforms that allow it
|
||||
ifneq (,$(filter stm32 nrf52 sam%,$(CPU)))
|
||||
RTT_FREQUENCY ?= RTT_MAX_FREQUENCY
|
||||
CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
|
||||
endif
|
||||
|
||||
# LLVM ARM shows issues with missing definitions for stdatomic
|
||||
TOOLCHAINS_BLACKLIST += llvm
|
||||
|
@ -269,9 +269,6 @@ endif
|
||||
|
||||
ifneq (,$(filter posix_sleep,$(USEMODULE)))
|
||||
USEMODULE += ztimer_msec
|
||||
ifneq (,$(filter periph_rtt,$(USEMODULE)))
|
||||
USEMODULE += ztimer_periph_rtt
|
||||
endif
|
||||
USEMODULE += ztimer_usec
|
||||
USEMODULE += posix_headers
|
||||
endif
|
||||
@ -539,9 +536,6 @@ ifneq (,$(filter skald,$(USEMODULE)))
|
||||
USEMODULE += nrfble
|
||||
USEMODULE += random
|
||||
USEMODULE += ztimer_msec
|
||||
ifneq (,$(filter periph_rtt,$(USEMODULE)))
|
||||
USEMODULE += ztimer_periph_rtt
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter bluetil_addr,$(USEMODULE)))
|
||||
|
Loading…
Reference in New Issue
Block a user