Fixed more e200z demos.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12659 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
23ce2e2a77
commit
e6e06730c0
|
@ -82,6 +82,12 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../..
|
CHIBIOS = ../../..
|
||||||
|
CONFDIR := .
|
||||||
|
BUILDDIR := ./build
|
||||||
|
DEPDIR := ./.dep
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
# Startup files.
|
# Startup files.
|
||||||
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc563mxx.mk
|
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc563mxx.mk
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
|
@ -103,29 +109,18 @@ include $(CHIBIOS)/os/various/shell/shell.mk
|
||||||
LDSCRIPT= $(STARTUPLD)/SPC563M64.ld
|
LDSCRIPT= $(STARTUPLD)/SPC563M64.ld
|
||||||
|
|
||||||
# C sources here.
|
# C sources here.
|
||||||
CSRC = $(STARTUPSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(KERNSRC) \
|
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(TESTSRC) \
|
$(TESTSRC) \
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(SHELLSRC) \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# C++ sources here.
|
# C++ sources here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC =
|
ASMSRC = $(ALLASMSRC)
|
||||||
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
|
ASMXSRC = $(ALLXASMSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license \
|
INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR)
|
||||||
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
|
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
|
|
||||||
$(STREAMSINC) $(SHELLINC)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -82,6 +82,12 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../..
|
CHIBIOS = ../../..
|
||||||
|
CONFDIR := .
|
||||||
|
BUILDDIR := ./build
|
||||||
|
DEPDIR := ./.dep
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
# Startup files.
|
# Startup files.
|
||||||
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc564axx.mk
|
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc564axx.mk
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
|
@ -103,29 +109,18 @@ include $(CHIBIOS)/os/various/shell/shell.mk
|
||||||
LDSCRIPT= $(STARTUPLD)/SPC564A80.ld
|
LDSCRIPT= $(STARTUPLD)/SPC564A80.ld
|
||||||
|
|
||||||
# C sources here.
|
# C sources here.
|
||||||
CSRC = $(STARTUPSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(KERNSRC) \
|
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(TESTSRC) \
|
$(TESTSRC) \
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(SHELLSRC) \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# C++ sources here.
|
# C++ sources here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC =
|
ASMSRC = $(ALLASMSRC)
|
||||||
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
|
ASMXSRC = $(ALLXASMSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license \
|
INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR)
|
||||||
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
|
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
|
|
||||||
$(STREAMSINC) $(SHELLINC)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -82,6 +82,12 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../..
|
CHIBIOS = ../../..
|
||||||
|
CONFDIR := .
|
||||||
|
BUILDDIR := ./build
|
||||||
|
DEPDIR := ./.dep
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
# Startup files.
|
# Startup files.
|
||||||
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc56elxx.mk
|
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc56elxx.mk
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
|
@ -103,29 +109,18 @@ include $(CHIBIOS)/os/various/shell/shell.mk
|
||||||
LDSCRIPT= $(STARTUPLD)/SPC56EL60_LSM.ld
|
LDSCRIPT= $(STARTUPLD)/SPC56EL60_LSM.ld
|
||||||
|
|
||||||
# C sources here.
|
# C sources here.
|
||||||
CSRC = $(STARTUPSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(KERNSRC) \
|
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(TESTSRC) \
|
$(TESTSRC) \
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(SHELLSRC) \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# C++ sources here.
|
# C++ sources here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC =
|
ASMSRC = $(ALLASMSRC)
|
||||||
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
|
ASMXSRC = $(ALLXASMSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license \
|
INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR)
|
||||||
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
|
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
|
|
||||||
$(STREAMSINC) $(SHELLINC)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
# List of all the SPC560Bxx platform files.
|
# List of all the SPC560Bxx platform files.
|
||||||
PLATFORMSRC = ${CHIBIOS}/os/hal/ports/SPC5/SPC560Bxx/hal_lld.c \
|
PLATFORMSRC = ${CHIBIOS}/os/hal/ports/SPC5/SPC560Bxx/hal_lld.c \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/EDMA_v1/spc5_edma.c \
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/EDMA_v1/spc5_edma.c \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/SIUL_v1/hal_pal_lld.c \
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/SIUL_v1/hal_pal_lld.c \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/LINFlex_v1/hal_serial_lld.c \
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/LINFlex_v1/hal_serial_lld.c \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/DSPI_v1/hal_spi_lld.c \
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/DSPI_v1/hal_spi_lld.c \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/STM_v1/hal_st_lld.c
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/STM_v1/hal_st_lld.c
|
||||||
|
|
||||||
# Required include directories
|
# Required include directories
|
||||||
PLATFORMINC = ${CHIBIOS}/os/hal/ports/SPC5/SPC560Bxx \
|
PLATFORMINC = ${CHIBIOS}/os/hal/ports/SPC5/SPC560Bxx \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/EDMA_v1 \
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/EDMA_v1 \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/SIUL_v1 \
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/SIUL_v1 \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/LINFlex_v1 \
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/LINFlex_v1 \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/DSPI_v1 \
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/DSPI_v1 \
|
||||||
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/STM_v1
|
${CHIBIOS}/os/hal/ports/SPC5/LLD/STM_v1
|
||||||
|
|
||||||
# Shared variables
|
# Shared variables
|
||||||
ALLCSRC += $(PLATFORMSRC)
|
ALLCSRC += $(PLATFORMSRC)
|
||||||
|
|
Loading…
Reference in New Issue