diff --git a/Makefile.dep b/Makefile.dep index 1b3adaa2dc..e43433aa31 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -19,6 +19,10 @@ OLD_USEPKG := $(sort $(USEPKG)) include $(RIOTBASE)/sys/Makefile.dep include $(RIOTBASE)/drivers/Makefile.dep +ifneq (,$(filter ssp,$(USEMODULE))) + FEATURES_REQUIRED += ssp +endif + ifneq (,$(filter ndn-riot,$(USEPKG))) USEMODULE += gnrc USEMODULE += xtimer diff --git a/cpu/arm7_common/Makefile.features b/cpu/arm7_common/Makefile.features index f4b17a8c67..5183414c71 100644 --- a/cpu/arm7_common/Makefile.features +++ b/cpu/arm7_common/Makefile.features @@ -4,3 +4,4 @@ FEATURES_PROVIDED += arch_arm7 FEATURES_PROVIDED += cpp FEATURES_PROVIDED += periph_pm FEATURES_PROVIDED += puf_sram +FEATURES_PROVIDED += ssp diff --git a/cpu/cortexm_common/Makefile.features b/cpu/cortexm_common/Makefile.features index c267c7240e..74b9888ac1 100644 --- a/cpu/cortexm_common/Makefile.features +++ b/cpu/cortexm_common/Makefile.features @@ -4,3 +4,4 @@ FEATURES_PROVIDED += arch_cortexm FEATURES_PROVIDED += periph_pm FEATURES_PROVIDED += cpp FEATURES_PROVIDED += cpu_check_address +FEATURES_PROVIDED += ssp diff --git a/cpu/esp32/Makefile.features b/cpu/esp32/Makefile.features index f537631637..4bcca1eb06 100644 --- a/cpu/esp32/Makefile.features +++ b/cpu/esp32/Makefile.features @@ -6,3 +6,4 @@ FEATURES_PROVIDED += periph_hwrng FEATURES_PROVIDED += periph_pm FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_timer +FEATURES_PROVIDED += ssp diff --git a/cpu/esp8266/Makefile.features b/cpu/esp8266/Makefile.features index 82e159cedd..28368f0f7b 100644 --- a/cpu/esp8266/Makefile.features +++ b/cpu/esp8266/Makefile.features @@ -7,3 +7,4 @@ FEATURES_PROVIDED += periph_cpuid FEATURES_PROVIDED += periph_hwrng FEATURES_PROVIDED += periph_pm FEATURES_PROVIDED += periph_timer +FEATURES_PROVIDED += ssp diff --git a/cpu/fe310/Makefile.features b/cpu/fe310/Makefile.features index c76eec0cab..d55eea478d 100644 --- a/cpu/fe310/Makefile.features +++ b/cpu/fe310/Makefile.features @@ -4,3 +4,4 @@ FEATURES_PROVIDED += cpp FEATURES_PROVIDED += periph_cpuid FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_pm +FEATURES_PROVIDED += ssp diff --git a/cpu/native/Makefile.features b/cpu/native/Makefile.features index 5efff466cf..1d99e2e566 100644 --- a/cpu/native/Makefile.features +++ b/cpu/native/Makefile.features @@ -5,6 +5,7 @@ FEATURES_PROVIDED += periph_cpuid FEATURES_PROVIDED += periph_hwrng FEATURES_PROVIDED += periph_pm FEATURES_PROVIDED += periph_pwm +FEATURES_PROVIDED += ssp # Access to hardware SPI bus is only supported on Linux hosts ifeq ($(OS),Linux) diff --git a/tests/ssp/Makefile b/tests/ssp/Makefile index d3decba142..aaeb933067 100644 --- a/tests/ssp/Makefile +++ b/tests/ssp/Makefile @@ -1,8 +1,5 @@ include ../Makefile.tests_common -# avr8, msp430, esp8266 and mips don't support ssp (yet) -FEATURES_BLACKLIST += arch_avr8 arch_esp8266 arch_mips32r2 arch_msp430 - USEMODULE += ssp include $(RIOTBASE)/Makefile.include