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:
Giovanni Di Sirio 2019-02-12 12:51:12 +00:00
parent 23ce2e2a77
commit e6e06730c0
4 changed files with 43 additions and 58 deletions

View File

@ -82,6 +82,12 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../..
CONFDIR := .
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc563mxx.mk
# HAL-OSAL files (optional).
@ -103,29 +109,18 @@ include $(CHIBIOS)/os/various/shell/shell.mk
LDSCRIPT= $(STARTUPLD)/SPC563M64.ld
# C sources here.
CSRC = $(STARTUPSRC) \
$(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
CSRC = $(ALLCSRC) \
$(TESTSRC) \
$(STREAMSSRC) \
$(SHELLSRC) \
main.c
# C++ sources here.
CPPSRC =
CPPSRC = $(ALLCPPSRC)
# List ASM source files here
ASMSRC =
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
ASMSRC = $(ALLASMSRC)
ASMXSRC = $(ALLXASMSRC)
INCDIR = $(CHIBIOS)/os/license \
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
$(STREAMSINC) $(SHELLINC)
INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR)
#
# Project, sources and paths

View File

@ -82,6 +82,12 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../..
CONFDIR := .
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc564axx.mk
# HAL-OSAL files (optional).
@ -103,29 +109,18 @@ include $(CHIBIOS)/os/various/shell/shell.mk
LDSCRIPT= $(STARTUPLD)/SPC564A80.ld
# C sources here.
CSRC = $(STARTUPSRC) \
$(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
CSRC = $(ALLCSRC) \
$(TESTSRC) \
$(STREAMSSRC) \
$(SHELLSRC) \
main.c
# C++ sources here.
CPPSRC =
CPPSRC = $(ALLCPPSRC)
# List ASM source files here
ASMSRC =
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
ASMSRC = $(ALLASMSRC)
ASMXSRC = $(ALLXASMSRC)
INCDIR = $(CHIBIOS)/os/license \
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
$(STREAMSINC) $(SHELLINC)
INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR)
#
# Project, sources and paths

View File

@ -82,6 +82,12 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../..
CONFDIR := .
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc56elxx.mk
# HAL-OSAL files (optional).
@ -103,29 +109,18 @@ include $(CHIBIOS)/os/various/shell/shell.mk
LDSCRIPT= $(STARTUPLD)/SPC56EL60_LSM.ld
# C sources here.
CSRC = $(STARTUPSRC) \
$(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
CSRC = $(ALLCSRC) \
$(TESTSRC) \
$(STREAMSSRC) \
$(SHELLSRC) \
main.c
# C++ sources here.
CPPSRC =
CPPSRC = $(ALLCPPSRC)
# List ASM source files here
ASMSRC =
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
ASMSRC = $(ALLASMSRC)
ASMXSRC = $(ALLXASMSRC)
INCDIR = $(CHIBIOS)/os/license \
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
$(STREAMSINC) $(SHELLINC)
INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR)
#
# Project, sources and paths

View File

@ -1,18 +1,18 @@
# List of all the SPC560Bxx platform files.
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/SPC5xx/SIUL_v1/hal_pal_lld.c \
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/LINFlex_v1/hal_serial_lld.c \
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/DSPI_v1/hal_spi_lld.c \
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/STM_v1/hal_st_lld.c
${CHIBIOS}/os/hal/ports/SPC5/LLD/EDMA_v1/spc5_edma.c \
${CHIBIOS}/os/hal/ports/SPC5/LLD/SIUL_v1/hal_pal_lld.c \
${CHIBIOS}/os/hal/ports/SPC5/LLD/LINFlex_v1/hal_serial_lld.c \
${CHIBIOS}/os/hal/ports/SPC5/LLD/DSPI_v1/hal_spi_lld.c \
${CHIBIOS}/os/hal/ports/SPC5/LLD/STM_v1/hal_st_lld.c
# Required include directories
PLATFORMINC = ${CHIBIOS}/os/hal/ports/SPC5/SPC560Bxx \
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/EDMA_v1 \
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/SIUL_v1 \
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/LINFlex_v1 \
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/DSPI_v1 \
${CHIBIOS}/os/hal/ports/SPC5/SPC5xx/STM_v1
${CHIBIOS}/os/hal/ports/SPC5/LLD/EDMA_v1 \
${CHIBIOS}/os/hal/ports/SPC5/LLD/SIUL_v1 \
${CHIBIOS}/os/hal/ports/SPC5/LLD/LINFlex_v1 \
${CHIBIOS}/os/hal/ports/SPC5/LLD/DSPI_v1 \
${CHIBIOS}/os/hal/ports/SPC5/LLD/STM_v1
# Shared variables
ALLCSRC += $(PLATFORMSRC)