diff --git a/boards/hifive1/Makefile.features b/boards/hifive1/Makefile.features index 88937c6039a6f399026b35a0f76883429f141a8b..c74c6deeaaf478299c20f6efcce15eb53f43fd12 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 2728a327dbdb1e45bdb073b60dc6186a3f8757e7..725d8c9dafd1890f2e3d7aff2b5af78ef06414b3 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