summaryrefslogtreecommitdiff
path: root/FreeRTOS/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/config.mk')
-rw-r--r--FreeRTOS/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/FreeRTOS/config.mk b/FreeRTOS/config.mk
index 81248d9..188050d 100644
--- a/FreeRTOS/config.mk
+++ b/FreeRTOS/config.mk
@@ -1,5 +1,9 @@
TARGET_INCLUDES = $(ROOTDIR)/FreeRTOS/Source/include
+ifeq ($(USE_MPU),true)
+TARGET_CPPFLAGS += -DportUSING_MPU_WRAPPERS=1
+endif
+
ifeq ($(CPU),arm)
ifeq ($(CPU_FLAVOR),lpc1768)
TARGET_INCLUDES += $(ROOTDIR)/config/arm/lpc1768 $(ROOTDIR)/arch/arm/lpc17xx/Core/CM3/DeviceSupport/NXP/LPC17xx $(ROOTDIR)/arch/arm/lpc17xx/Core/CM3/CoreSupport