git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16308 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
5785723e39
commit
b65bbf7f7b
|
@ -80,8 +80,14 @@ endif
|
||||||
# Define project name here
|
# Define project name here
|
||||||
PROJECT = ch
|
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_spc560dxx.mk
|
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc560dxx.mk
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
|
@ -100,29 +106,30 @@ include $(CHIBIOS)/test/oslib/oslib_test.mk
|
||||||
# Define linker script file here
|
# Define linker script file here
|
||||||
LDSCRIPT= $(STARTUPLD)/SPC560D40.ld
|
LDSCRIPT= $(STARTUPLD)/SPC560D40.ld
|
||||||
|
|
||||||
# C sources here.
|
# C sources that can be compiled in ARM or THUMB mode depending on the global
|
||||||
CSRC = $(STARTUPSRC) \
|
# setting.
|
||||||
$(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(LIBSRC) \
|
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(TESTSRC) \
|
$(TESTSRC) \
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# C++ sources here.
|
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
||||||
CPPSRC =
|
# setting.
|
||||||
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here.
|
||||||
ASMSRC =
|
ASMSRC = $(ALLASMSRC)
|
||||||
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
|
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license \
|
# List ASM with preprocessor source files here.
|
||||||
$(STARTUPINC) $(KERNINC) $(LIBINC) $(PORTINC) $(OSALINC) \
|
ASMXSRC = $(ALLXASMSRC)
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
|
|
||||||
$(CHIBIOS)/os/various
|
# Inclusion directories.
|
||||||
|
INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC)
|
||||||
|
|
||||||
|
# Define C warning options here.
|
||||||
|
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes
|
||||||
|
|
||||||
|
# Define C++ warning options here.
|
||||||
|
CPPWARN = -Wall -Wextra -Wundef
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
Loading…
Reference in New Issue