AVR: Update the multi.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11761 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
Theodore Ateba 2018-03-15 08:04:59 +00:00
parent b300b61ee0
commit 4ed8683d35
25 changed files with 55 additions and 64 deletions

View File

@ -5,31 +5,31 @@
all:
@echo
@echo === Building for Arduino-Mega ======================================
@make --no-print-directory -f Makefile-arduino_mega all
@make --no-print-directory -f make/Makefile-arduino_mega.make all
@echo ====================================================================
@echo
@echo === Building for Arduino-Mini ======================================
@make --no-print-directory -f Makefile-arduino_mini all
@make --no-print-directory -f make/Makefile-arduino_mini.make all
@echo ====================================================================
@echo
@echo === Building for Arduino-Nano ======================================
@make --no-print-directory -f Makefile-arduino_nano all
@make --no-print-directory -f make/Makefile-arduino_nano.make all
@echo ====================================================================
@echo
@echo === Building for Arduino-Uno =======================================
@make --no-print-directory -f Makefile-arduino_uno all
@make --no-print-directory -f make/Makefile-arduino_uno.make all
@echo ====================================================================
@echo
clean:
@echo
-@make --no-print-directory -f Makefile-arduino_mega clean
-@make --no-print-directory -f make/Makefile-arduino_mega.make clean
@echo
-@make --no-print-directory -f Makefile-arduino_mini clean
-@make --no-print-directory -f make/Makefile-arduino_mini.make clean
@echo
-@make --no-print-directory -f Makefile-arduino_nano clean
-@make --no-print-directory -f make/Makefile-arduino_nano.make clean
@echo
-@make --no-print-directory -f Makefile-arduino_uno clean
-@make --no-print-directory -f make/Makefile-arduino_uno.make clean
@echo
#

View File

@ -69,35 +69,33 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../..
CONFDIR := ./cfg-arduino_mega
BUILDDIR := ./build-arduino_mega
DEPDIR := ./.dep-arduino_mega
CONFDIR := ./cfg/arduino_mega
BUILDDIR := ./build/arduino_mega
DEPDIR := ./.dep/arduino_mega
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
# List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(CHIBIOS)/os/various/evtimer.c \
CSRC = $(ALLCSRC) \
$(CONFDIR)/portab.c \
main.c
# List C++ sources file here.
CPPSRC =
CPPSRC = $(ALLCPPSRC)
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(CHIBIOS)/os/various $(CONFDIR)
# Header files here.
INCDIR = $(ALLINC) $(CONFDIR)
#
# Project, sources and paths.

View File

@ -69,35 +69,33 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../..
CONFDIR := ./cfg-arduino_mini
BUILDDIR := ./build-arduino_mini
DEPDIR := ./.dep-arduino_mini
CONFDIR := ./cfg/arduino_mini
BUILDDIR := ./build/arduino_mini
DEPDIR := ./.dep/arduino_mini
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ARDUINO_MINI/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
# List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(CHIBIOS)/os/various/evtimer.c \
CSRC = $(ALLCSRC) \
$(CONFDIR)/portab.c \
main.c
# List C++ sources file here.
CPPSRC =
CPPSRC = $(ALLCPPSRC)
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(CHIBIOS)/os/various $(CONFDIR)
# Header files here.
INCDIR = $(ALLINC) $(CONFDIR)
#
# Project, sources and paths.

View File

@ -69,9 +69,12 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../..
CONFDIR := ./cfg-arduino_nano
BUILDDIR := ./build-arduino_nano
DEPDIR := ./.dep-arduino_nano
CONFDIR := ./cfg/arduino_nano
BUILDDIR := ./build/arduino_nano
DEPDIR := ./.dep/arduino_nano
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
@ -83,21 +86,15 @@ include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
# List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(CHIBIOS)/os/various/evtimer.c \
CSRC = $(ALLCSRC) \
$(CONFDIR)/portab.c \
main.c
# List C++ sources file here.
CPPSRC =
CPPSRC = $(ALLCPPSRC)
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(CHIBIOS)/os/various $(CONFDIR)
# Header files here.
INCDIR = $(ALLINC) $(CONFDIR)
#
# Project, sources and paths.

View File

@ -69,35 +69,33 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../..
CONFDIR := ./cfg-arduino_uno
BUILDDIR := ./build-arduino_uno
DEPDIR := ./.dep-arduino_uno
CONFDIR := ./cfg/arduino_uno
BUILDDIR := ./build/arduino_uno
DEPDIR := ./.dep/arduino_uno
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ARDUINO_UNO/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
# List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(CHIBIOS)/os/various/evtimer.c \
CSRC = $(ALLCSRC) \
$(CONFDIR)/portab.c \
main.c
# List C++ sources file here.
CPPSRC =
CPPSRC = $(ALLCPPSRC)
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(CHIBIOS)/os/various $(CONFDIR)
# Header files here.
INCDIR = $(ALLINC) $(CONFDIR)
#
# Project, sources and paths.