diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 10:36:29 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 10:36:29 +0000 |
commit | 93fc8b57778f698cbe7e0e202e33b5d56ce09039 (patch) | |
tree | 0bbf40ba4c83b36dc81c3a9d47a32624d9005092 /demos/ARM7-LPC214x-GCC-minimal/Makefile | |
parent | 4682a4476ec53884628b1a2b61457938f5914038 (diff) | |
download | ChibiOS-93fc8b57778f698cbe7e0e202e33b5d56ce09039.tar.gz ChibiOS-93fc8b57778f698cbe7e0e202e33b5d56ce09039.tar.bz2 ChibiOS-93fc8b57778f698cbe7e0e202e33b5d56ce09039.zip |
HAL implemented for LPC214x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1392 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC-minimal/Makefile')
-rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/demos/ARM7-LPC214x-GCC-minimal/Makefile b/demos/ARM7-LPC214x-GCC-minimal/Makefile index 21e9a0eea..8801183e4 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/Makefile +++ b/demos/ARM7-LPC214x-GCC-minimal/Makefile @@ -44,6 +44,8 @@ LDSCRIPT = ch.ld # Imported source files
CHIBIOS = ../..
+include ${CHIBIOS}/os/hal/hal.mk
+include ${CHIBIOS}/os/hal/platforms/LPC214x/platform.mk
include ${CHIBIOS}/os/ports/GCC/ARM7/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
#include ${CHIBIOS}/test/test.mk
@@ -53,9 +55,8 @@ include ${CHIBIOS}/os/kernel/kernel.mk CSRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
- ${CHIBIOS}/os/io/pal.c \
- ${CHIBIOS}/os/io/platforms/LPC214x/pal_lld.c \
- ${CHIBIOS}/os/io/platforms/LPC214x/vic.c \
+ ${HALSRC} \
+ ${PLATFORMSRC} \
board.c main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
@@ -86,9 +87,7 @@ TCPPSRC = ASMSRC = $(PORTASM) \
${CHIBIOS}/os/ports/GCC/ARM7/LPC214x/vectors.s
-INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
- ${CHIBIOS}/os/io \
- ${CHIBIOS}/os/io/platforms/LPC214x \
+INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) \
${CHIBIOS}/os/various \
${CHIBIOS}/os/ports/GCC/ARM7/LPC214x
|