Update testhal makefile to avoid compîlation errors with chlib.h and chlicense files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11760 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
86ed98b30a
commit
b300b61ee0
|
@ -84,6 +84,8 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../..
|
CHIBIOS = ../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
include $(CHIBIOS)/os/license/license.mk
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
|
|
|
@ -84,34 +84,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -84,34 +84,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -84,34 +84,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -84,34 +84,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -84,34 +84,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -84,34 +84,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -84,34 +84,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -85,34 +85,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/MT-DB-X4/board.mk
|
include $(CHIBIOS)/os/hal/boards/MT-DB-X4/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -85,37 +85,34 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/MT-DB-X4/board.mk
|
include $(CHIBIOS)/os/hal/boards/MT-DB-X4/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/test/lib/test.mk
|
include $(CHIBIOS)/test/lib/test.mk
|
||||||
include $(CHIBIOS)/test/oslib/oslib_test.mk
|
include $(CHIBIOS)/test/oslib/oslib_test.mk
|
||||||
|
|
||||||
#include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
$(TESTSRC) \
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
$(TESTSRC) \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
|
INCDIR = $(ALLINC) $(TESTINC)
|
||||||
$(BOARDINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -84,31 +84,29 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/MT-DB-X4/board.mk
|
include $(CHIBIOS)/os/hal/boards/MT-DB-X4/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
|
@ -84,34 +84,32 @@ PROJECT = ch
|
||||||
|
|
||||||
# Imported source files and paths
|
# Imported source files and paths
|
||||||
CHIBIOS = ../../../..
|
CHIBIOS = ../../../..
|
||||||
|
|
||||||
|
# Licensing files.
|
||||||
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/MT-DB-X4/board.mk
|
include $(CHIBIOS)/os/hal/boards/MT-DB-X4/board.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/platform.mk
|
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
|
||||||
|
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
||||||
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
|
||||||
|
|
||||||
# Other files (optional).
|
# Other files (optional).
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
CSRC = $(KERNSRC) \
|
CSRC = $(ALLCSRC) \
|
||||||
$(PORTSRC) \
|
|
||||||
$(OSALSRC) \
|
|
||||||
$(HALSRC) \
|
|
||||||
$(PLATFORMSRC) \
|
|
||||||
$(BOARDSRC) \
|
|
||||||
$(STREAMSSRC) \
|
|
||||||
$(CHIBIOS)/os/various/evtimer.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
# List C++ sources file here.
|
# List C++ sources file here.
|
||||||
CPPSRC =
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
||||||
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
|
# Header files here.
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) \
|
INCDIR = $(ALLINC)
|
||||||
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths.
|
# Project, sources and paths.
|
||||||
|
|
Loading…
Reference in New Issue