1
0
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:
Sören Tempel 2020-01-22 15:26:19 +01:00
parent f2329252b8
commit 5ef5ab7e4b
8 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -4,3 +4,4 @@ FEATURES_PROVIDED += arch_arm7
FEATURES_PROVIDED += cpp
FEATURES_PROVIDED += periph_pm
FEATURES_PROVIDED += puf_sram
FEATURES_PROVIDED += ssp

View File

@ -4,3 +4,4 @@ FEATURES_PROVIDED += arch_cortexm
FEATURES_PROVIDED += periph_pm
FEATURES_PROVIDED += cpp
FEATURES_PROVIDED += cpu_check_address
FEATURES_PROVIDED += ssp

View File

@ -6,3 +6,4 @@ FEATURES_PROVIDED += periph_hwrng
FEATURES_PROVIDED += periph_pm
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += ssp

View File

@ -7,3 +7,4 @@ FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_hwrng
FEATURES_PROVIDED += periph_pm
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += ssp

View File

@ -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

View File

@ -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)

View File

@ -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