diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 14:42:32 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 14:42:32 +0000 |
commit | cbbacdb239211fc33b0423b1213d2e58ac1692da (patch) | |
tree | 87b6a0de2bfe60c72113b3d9c6efb199aabb198b /demos/AVR-ATmega128-GCC/Makefile | |
parent | e3538a6583b6a269bfabb7b27166dc5296a61879 (diff) | |
download | ChibiOS-cbbacdb239211fc33b0423b1213d2e58ac1692da.tar.gz ChibiOS-cbbacdb239211fc33b0423b1213d2e58ac1692da.tar.bz2 ChibiOS-cbbacdb239211fc33b0423b1213d2e58ac1692da.zip |
HAL support for AVR.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1394 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR-ATmega128-GCC/Makefile')
-rw-r--r-- | demos/AVR-ATmega128-GCC/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/AVR-ATmega128-GCC/Makefile b/demos/AVR-ATmega128-GCC/Makefile index dcc7f7beb..1ae0a672a 100644 --- a/demos/AVR-ATmega128-GCC/Makefile +++ b/demos/AVR-ATmega128-GCC/Makefile @@ -81,6 +81,8 @@ OBJDIR = . # Imported source files
CHIBIOS = ../..
+include ${CHIBIOS}/os/hal/hal.mk
+include ${CHIBIOS}/os/hal/platforms/AVR/platform.mk
include ${CHIBIOS}/os/ports/GCC/AVR/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
include ${CHIBIOS}/test/test.mk
@@ -90,8 +92,8 @@ include ${CHIBIOS}/test/test.mk SRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
- ${CHIBIOS}/os/io/serial.c \
- ${CHIBIOS}/os/io/platforms/AVR/serial_lld.c \
+ ${HALSRC} \
+ ${PLATFORMSRC} \
${CHIBIOS}/os/various/evtimer.c \
lcd.c board.c main.c
@@ -127,9 +129,7 @@ DEBUG = dwarf-2 # Each directory must be seperated by a space.
# Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.
-EXTRAINCDIRS = $(PORTINC) $(KERNINC) $(TESTINC) \
- ${CHIBIOS}/os/io \
- ${CHIBIOS}/os/io/platforms/AVR \
+EXTRAINCDIRS = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) \
${CHIBIOS}/os/various
|