diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-28 15:45:16 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-28 15:45:16 +0000 |
commit | a1e543399593523ac2c9e09df258d5603b6da671 (patch) | |
tree | b1b87a96cee8233662e5a6acb668d0f39423e35f /demos/ARMCM3-STM32F103-FATFS-GCC/Makefile | |
parent | 78550c25e593d553cc8c468749259366a5fff4e3 (diff) | |
download | ChibiOS-a1e543399593523ac2c9e09df258d5603b6da671.tar.gz ChibiOS-a1e543399593523ac2c9e09df258d5603b6da671.tar.bz2 ChibiOS-a1e543399593523ac2c9e09df258d5603b6da671.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1336 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F103-FATFS-GCC/Makefile')
-rw-r--r-- | demos/ARMCM3-STM32F103-FATFS-GCC/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile b/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile index 58a37266f..042a82793 100644 --- a/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile +++ b/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile @@ -57,6 +57,8 @@ LDSCRIPT= ch.ld # Imported source files
CHIBIOS = ../..
+include ${CHIBIOS}/os/hal/hal.mk
+include ${CHIBIOS}/os/hal/platforms/STM32/platform.mk
include ${CHIBIOS}/os/ports/GCC/ARMCM3/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
include ${CHIBIOS}/test/test.mk
@@ -67,15 +69,9 @@ include ${CHIBIOS}/ext/fatfs/fatfs.mk CSRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
+ ${HALSRC} \
+ ${PLATFORMSRC} \
${FATFSSRC} \
- ${CHIBIOS}/os/io/pal.c \
- ${CHIBIOS}/os/io/serial.c \
- ${CHIBIOS}/os/io/spi.c \
- ${CHIBIOS}/os/io/mmc_spi.c \
- ${CHIBIOS}/os/io/platforms/STM32/pal_lld.c \
- ${CHIBIOS}/os/io/platforms/STM32/serial_lld.c \
- ${CHIBIOS}/os/io/platforms/STM32/spi_lld.c \
- ${CHIBIOS}/os/io/platforms/STM32/stm32_dma.c \
${CHIBIOS}/os/various/evtimer.c \
${CHIBIOS}/os/various/syscalls.c \
board.c main.c @@ -108,11 +104,9 @@ TCPPSRC = ASMSRC = $(PORTASM) \
${CHIBIOS}/os/ports/GCC/ARMCM3/STM32F103/vectors.s
-INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
- ${CHIBIOS}/os/io \
- ${CHIBIOS}/os/io/platforms/STM32 \
- ${CHIBIOS}/os/various \
- $(FATFSINC)
+INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) \
+ $(FATFSINC) \
+ ${CHIBIOS}/os/various
#
# Project, sources and paths
@@ -159,7 +153,7 @@ CPPWARN = -Wall -Wextra #
# List all default C defines here, like -D_DEBUG=1
-DDEFS = -DSTDOUT_SD=SD2 -DSTDIN_SD=SD2
+DDEFS =
# List all default ASM defines here, like -D_DEBUG=1
DADEFS =
|