aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-18 13:55:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-18 13:55:38 +0000
commitd844d13504de6523f6a5f77cd9ec8604584bdefe (patch)
tree4241f09eab34ad6e3b1860bcb1b70c99b9bf34d5 /demos/ARMCM3-STM32F103-FATFS-GCC/Makefile
parent316dda14adabba0eae94492062e3120f3509b034 (diff)
downloadChibiOS-d844d13504de6523f6a5f77cd9ec8604584bdefe.tar.gz
ChibiOS-d844d13504de6523f6a5f77cd9ec8604584bdefe.tar.bz2
ChibiOS-d844d13504de6523f6a5f77cd9ec8604584bdefe.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1433 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F103-FATFS-GCC/Makefile')
-rw-r--r--demos/ARMCM3-STM32F103-FATFS-GCC/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile b/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile
index 95989b6a2..121d72b9f 100644
--- a/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile
+++ b/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile
@@ -57,8 +57,9 @@ LDSCRIPT= ch.ld
# Imported source files
CHIBIOS = ../..
-include ${CHIBIOS}/os/hal/hal.mk
+include ${CHIBIOS}/boards/OLIMEX_STM32_P103/board.mk
include ${CHIBIOS}/os/hal/platforms/STM32/platform.mk
+include ${CHIBIOS}/os/hal/hal.mk
include ${CHIBIOS}/os/ports/GCC/ARMCM3/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
include ${CHIBIOS}/test/test.mk
@@ -71,10 +72,11 @@ CSRC = ${PORTSRC} \
${TESTSRC} \
${HALSRC} \
${PLATFORMSRC} \
+ ${BOARDSRC} \
${FATFSSRC} \
${CHIBIOS}/os/various/evtimer.c \
${CHIBIOS}/os/various/syscalls.c \
- board.c main.c
+ main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
@@ -104,7 +106,8 @@ TCPPSRC =
ASMSRC = $(PORTASM) \
${CHIBIOS}/os/ports/GCC/ARMCM3/STM32F103/vectors.s
-INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) \
+INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
+ $(HALINC) $(PLATFORMINC) ${BOARDINC} \
$(FATFSINC) \
${CHIBIOS}/os/various