aboutsummaryrefslogtreecommitdiffstats
path: root/demos/SPC5/RT-SPC56EL-EVB
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-18 09:39:41 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-18 09:39:41 +0000
commitda4c0dbaa0a453af6b1903554ccff1df7b98825c (patch)
tree97e3d0d8ffec0947fc1195b353da4557ec30b6ee /demos/SPC5/RT-SPC56EL-EVB
parent5f2b47e17bbddd663b5237f3d235375f69f88d4f (diff)
downloadChibiOS-da4c0dbaa0a453af6b1903554ccff1df7b98825c.tar.gz
ChibiOS-da4c0dbaa0a453af6b1903554ccff1df7b98825c.tar.bz2
ChibiOS-da4c0dbaa0a453af6b1903554ccff1df7b98825c.zip
Improvements to the e200 RT port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8507 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/SPC5/RT-SPC56EL-EVB')
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/demos/SPC5/RT-SPC56EL-EVB/Makefile b/demos/SPC5/RT-SPC56EL-EVB/Makefile
index 970f9e8e4..615fd8fc4 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/Makefile
+++ b/demos/SPC5/RT-SPC56EL-EVB/Makefile
@@ -82,25 +82,31 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../..
+# Startup files.
+include $(CHIBIOS)/os/common/ports/e200/compilers/GCC/mk/startup_spc56elxx.mk
+# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ST_EVB_SPC56EL/board.mk
include $(CHIBIOS)/os/hal/ports/SPC5/SPC56ELxx/platform.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
+# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
-include $(CHIBIOS)/os/rt/ports/e200/compilers/GCC/mk/port_spc56elxx.mk
+include $(CHIBIOS)/os/rt/ports/e200/compilers/GCC/mk/port.mk
+# Other files (optional).
include $(CHIBIOS)/test/rt/test.mk
# Define linker script file here
-LDSCRIPT= $(PORTLD)/SPC56EL60_LSM.ld
+LDSCRIPT= $(STARTUPLD)/SPC56EL60_LSM.ld
# C sources here.
-CSRC = $(PORTSRC) \
+CSRC = $(STARTUPSRC) \
$(KERNSRC) \
- $(TESTSRC) \
- $(HALSRC) \
+ $(PORTSRC) \
$(OSALSRC) \
+ $(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
+ $(TESTSRC) \
$(CHIBIOS)/os/hal/lib/streams/memstreams.c \
$(CHIBIOS)/os/hal/lib/streams/chprintf.c \
$(CHIBIOS)/os/various/shell.c \
@@ -110,10 +116,10 @@ CSRC = $(PORTSRC) \
CPPSRC =
# List ASM source files here
-ASMSRC = $(PORTASM)
+ASMSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
-INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
- $(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
+INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
+ $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
#