diff --git a/boards/hifive1/Makefile.features b/boards/hifive1/Makefile.features index 88937c6039..c74c6deeaa 100644 --- a/boards/hifive1/Makefile.features +++ b/boards/hifive1/Makefile.features @@ -7,10 +7,6 @@ FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart -ifneq (,$(filter periph_rtc,$(FEATURES_REQUIRED))) - FEATURES_REQUIRED += periph_rtt -endif - # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = risc_v diff --git a/cpu/fe310/Makefile.dep b/cpu/fe310/Makefile.dep index 2728a327db..725d8c9daf 100644 --- a/cpu/fe310/Makefile.dep +++ b/cpu/fe310/Makefile.dep @@ -1,3 +1,3 @@ ifneq (,$(filter periph_rtc,$(USEMODULE))) - USEMODULE += periph_rtt + FEATURES_REQUIRED += periph_rtt endif