mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Add CPU feature for stack smash protections
This commit is contained in:
parent
f2329252b8
commit
5ef5ab7e4b
@ -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
|
||||
|
@ -4,3 +4,4 @@ FEATURES_PROVIDED += arch_arm7
|
||||
FEATURES_PROVIDED += cpp
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
FEATURES_PROVIDED += puf_sram
|
||||
FEATURES_PROVIDED += ssp
|
||||
|
@ -4,3 +4,4 @@ FEATURES_PROVIDED += arch_cortexm
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
FEATURES_PROVIDED += cpp
|
||||
FEATURES_PROVIDED += cpu_check_address
|
||||
FEATURES_PROVIDED += ssp
|
||||
|
@ -6,3 +6,4 @@ FEATURES_PROVIDED += periph_hwrng
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
FEATURES_PROVIDED += periph_rtc
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += ssp
|
||||
|
@ -7,3 +7,4 @@ FEATURES_PROVIDED += periph_cpuid
|
||||
FEATURES_PROVIDED += periph_hwrng
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += ssp
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user