summaryrefslogtreecommitdiff
path: root/FreeRTOS/config.mk
blob: ca7bd933f2814cdcf29c7f7c4df236d034dc78b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
ifeq ($(USE_MPU),true)
TARGET_INCLUDES += $(ROOTDIR)/FreeRTOS/Source/portable/GCC/ARM_CM3_MPU
else
TARGET_INCLUDES += $(ROOTDIR)/FreeRTOS/Source/portable/GCC/ARM_CM3
endif
endif
endif