From 6c17623845a0d42285d77bdd8bbf177badf5b9f6 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 24 Jan 2011 06:20:27 +0100 Subject: Shuffled a few configuration items around, and added a barebone demo source code. --- FreeRTOS/config.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 FreeRTOS/config.mk (limited to 'FreeRTOS/config.mk') diff --git a/FreeRTOS/config.mk b/FreeRTOS/config.mk new file mode 100644 index 0000000..81248d9 --- /dev/null +++ b/FreeRTOS/config.mk @@ -0,0 +1,12 @@ +TARGET_INCLUDES = $(ROOTDIR)/FreeRTOS/Source/include + +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 +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 -- cgit v1.2.3