cpu/cortexm_common: use mpu stack guard if DEVELHELP is enabled

This commit is contained in:
Kaspar Schleiser 2020-06-25 13:14:59 +02:00
parent f4a2148642
commit 2f30aaaf06

View File

@ -18,3 +18,8 @@ FEATURES_OPTIONAL += cortexm_fpu
ifneq (,$(filter cortexm_fpu,$(FEATURES_USED))) ifneq (,$(filter cortexm_fpu,$(FEATURES_USED)))
DEFAULT_MODULE += cortexm_fpu DEFAULT_MODULE += cortexm_fpu
endif endif
# Enable the MPU stack guard if develhelp is enabled
ifeq (1, $(DEVELHELP))
FEATURES_OPTIONAL += cortexm_mpu
endif