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/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'FreeRTOS/Makefile') diff --git a/FreeRTOS/Makefile b/FreeRTOS/Makefile index e5df2a8..dc19136 100644 --- a/FreeRTOS/Makefile +++ b/FreeRTOS/Makefile @@ -3,24 +3,21 @@ TARGET_LIB = libFreeRTOS.a all: $(TARGET_LIB) include $(ROOTDIR)/common.mk +include config.mk ifeq ($(USE_MPU),true) TARGET_CPPFLAGS += -DportUSING_MPU_WRAPPERS=1 endif TARGET_SRCS = Source/croutine.c Source/list.c Source/queue.c Source/tasks.c -TARGET_INCLUDES = Source/include ifeq ($(CPU),arm) ifeq ($(CPU_FLAVOR),lpc1768) TARGET_SRCS += Source/portable/MemMang/heap_3.c -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_SRCS += Source/portable/GCC/ARM_CM3_MPU/port.c -TARGET_INCLUDES += Source/portable/GCC/ARM_CM3_MPU else TARGET_SRCS += Source/portable/GCC/ARM_CM3/port.c -TARGET_INCLUDES += Source/portable/GCC/ARM_CM3 endif endif endif -- cgit v1.2.3