[demo][avr] Update the AVR demo with the new Makefiles.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13300 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Theodore Ateba 2020-01-21 00:59:46 +00:00
parent 0706ed8a6e
commit 3f30c447a3
72 changed files with 89 additions and 33 deletions

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -107,7 +110,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -84,7 +84,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -107,7 +110,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -84,7 +84,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -107,7 +110,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -82,8 +82,11 @@ 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 := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -106,7 +109,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -107,7 +110,7 @@ CSRC = $(ALLCSRC) \
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
# Header files here. # Header files here.
INCDIR = $(ALLINC) INCDIR = $(CONFDIR) $(ALLINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -83,7 +83,10 @@ endif
PROJECT = ch PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk

View File

@ -84,6 +84,9 @@ PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS = ../../..
CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -110,7 +113,7 @@ CSRC = $(ALLCSRC) \
# List C++ sources file here. # List C++ sources file here.
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
INCDIR = $(ALLINC) $(TESTINC) INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -84,6 +84,10 @@ PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS = ../../..
CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -110,7 +114,7 @@ CSRC = $(ALLCSRC) \
# List C++ sources file here. # List C++ sources file here.
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
INCDIR = $(ALLINC) $(TESTINC) INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC)
# #
# Project, sources and paths. # Project, sources and paths.

View File

@ -84,6 +84,10 @@ PROJECT = ch
# Imported source files and paths # Imported source files and paths
CHIBIOS = ../../.. CHIBIOS = ../../..
CHIBIOS := ../../..
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
# Licensing files. # Licensing files.
include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/license/license.mk
@ -110,7 +114,7 @@ CSRC = $(ALLCSRC) \
# List C++ sources file here. # List C++ sources file here.
CPPSRC = $(ALLCPPSRC) CPPSRC = $(ALLCPPSRC)
INCDIR = $(ALLINC) $(TESTINC) INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC)
# #
# Project, sources and paths. # Project, sources and paths.