diff --git a/Makefile.dep b/Makefile.dep index 18a0f7af60..72a9557b1c 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -378,3 +378,11 @@ ifneq (,$(filter pthread,$(USEMODULE))) USEMODULE += vtimer USEMODULE += timex endif + +ifneq (,$(filter schedstatistics,$(USEMODULE))) + USEMODULE += xtimer +endif + +ifneq (,$(filter xtimer,$(USEMODULE))) + FEATURES_REQUIRED += periph_timer +endif