From 6da6afca5fc97ae2ccebfcb3f460271da2919e9a Mon Sep 17 00:00:00 2001 From: Theodore Ateba Date: Fri, 14 Jul 2017 00:40:02 +0000 Subject: Update AVR testhal Makefiles according the new structure. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10328 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/AVR/ADC/Makefile | 16 ++++++++-------- testhal/AVR/EXT/Makefile | 16 ++++++++-------- testhal/AVR/GPT/Makefile | 16 ++++++++-------- testhal/AVR/I2C/Makefile | 18 +++++++++--------- testhal/AVR/ICU/Makefile | 24 ++++++++++++------------ testhal/AVR/PWM/Makefile | 16 ++++++++-------- testhal/AVR/SPI/Makefile | 16 ++++++++-------- 7 files changed, 61 insertions(+), 61 deletions(-) diff --git a/testhal/AVR/ADC/Makefile b/testhal/AVR/ADC/Makefile index b1b164e80..54baefdaa 100644 --- a/testhal/AVR/ADC/Makefile +++ b/testhal/AVR/ADC/Makefile @@ -60,20 +60,20 @@ OBJDIR = . CHIBIOS = ../../.. include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk -include $(CHIBIOS)/os/hal/ports/AVR/platform.mk +include $(CHIBIOS)/os/hal/ports/AVR/MEGA/platform.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk include $(CHIBIOS)/os/hal/lib/streams/streams.mk # List C source files here. (C dependencies are automatically generated.) -SRC = $(KERNSRC) \ - $(PORTSRC) \ - $(OSALSRC) \ - $(HALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(STREAMSSRC) \ +SRC = $(KERNSRC) \ + $(PORTSRC) \ + $(OSALSRC) \ + $(HALSRC) \ + $(PLATFORMSRC) \ + $(BOARDSRC) \ + $(STREAMSSRC) \ $(CHIBIOS)/os/various/evtimer.c \ main.c diff --git a/testhal/AVR/EXT/Makefile b/testhal/AVR/EXT/Makefile index 22f59edf7..d13875563 100644 --- a/testhal/AVR/EXT/Makefile +++ b/testhal/AVR/EXT/Makefile @@ -60,7 +60,7 @@ OBJDIR = . CHIBIOS = ../../.. include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk -include $(CHIBIOS)/os/hal/ports/AVR/platform.mk +include $(CHIBIOS)/os/hal/ports/AVR/MEGA/platform.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk @@ -68,13 +68,13 @@ include $(CHIBIOS)/os/hal/lib/streams/streams.mk # List C source files here. (C dependencies are automatically generated.) -SRC = $(KERNSRC) \ - $(PORTSRC) \ - $(OSALSRC) \ - $(HALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(STREAMSSRC) \ +SRC = $(KERNSRC) \ + $(PORTSRC) \ + $(OSALSRC) \ + $(HALSRC) \ + $(PLATFORMSRC) \ + $(BOARDSRC) \ + $(STREAMSSRC) \ $(CHIBIOS)/os/various/evtimer.c \ main.c diff --git a/testhal/AVR/GPT/Makefile b/testhal/AVR/GPT/Makefile index b1b164e80..54baefdaa 100644 --- a/testhal/AVR/GPT/Makefile +++ b/testhal/AVR/GPT/Makefile @@ -60,20 +60,20 @@ OBJDIR = . CHIBIOS = ../../.. include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk -include $(CHIBIOS)/os/hal/ports/AVR/platform.mk +include $(CHIBIOS)/os/hal/ports/AVR/MEGA/platform.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk include $(CHIBIOS)/os/hal/lib/streams/streams.mk # List C source files here. (C dependencies are automatically generated.) -SRC = $(KERNSRC) \ - $(PORTSRC) \ - $(OSALSRC) \ - $(HALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(STREAMSSRC) \ +SRC = $(KERNSRC) \ + $(PORTSRC) \ + $(OSALSRC) \ + $(HALSRC) \ + $(PLATFORMSRC) \ + $(BOARDSRC) \ + $(STREAMSSRC) \ $(CHIBIOS)/os/various/evtimer.c \ main.c diff --git a/testhal/AVR/I2C/Makefile b/testhal/AVR/I2C/Makefile index 4fdeff218..5cdc3ffdf 100644 --- a/testhal/AVR/I2C/Makefile +++ b/testhal/AVR/I2C/Makefile @@ -40,7 +40,7 @@ #---------------------------------------------------------------------------- # MCU name -MCU = atmega1280 +MCU = atmega2560 # Processor frequency. F_CPU = 16000000 @@ -60,19 +60,19 @@ OBJDIR = . CHIBIOS = ../../.. include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk -include $(CHIBIOS)/os/hal/ports/AVR/platform.mk +include $(CHIBIOS)/os/hal/ports/AVR/MEGA/platform.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk 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.) -SRC = $(PORTSRC) \ - $(KERNSRC) \ - $(TESTSRC) \ - $(HALSRC) \ - $(OSALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ +SRC = $(PORTSRC) \ + $(KERNSRC) \ + $(TESTSRC) \ + $(HALSRC) \ + $(OSALSRC) \ + $(PLATFORMSRC) \ + $(BOARDSRC) \ $(CHIBIOS)/os/various/evtimer.c \ main.c diff --git a/testhal/AVR/ICU/Makefile b/testhal/AVR/ICU/Makefile index cb84f1e26..2f86af8bf 100644 --- a/testhal/AVR/ICU/Makefile +++ b/testhal/AVR/ICU/Makefile @@ -40,7 +40,7 @@ #---------------------------------------------------------------------------- # MCU name -MCU = atmega1280 +MCU = atmega2560 # Processor frequency. F_CPU = 16000000 @@ -60,23 +60,23 @@ OBJDIR = . CHIBIOS = ../../.. include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk -include $(CHIBIOS)/os/hal/ports/AVR/platform.mk +include $(CHIBIOS)/os/hal/ports/AVR/MEGA/platform.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk include $(CHIBIOS)/test/rt/test.mk # List C source files here. (C dependencies are automatically generated.) -SRC = $(PORTSRC) \ - $(KERNSRC) \ - $(TESTSRC) \ - $(HALSRC) \ - $(OSALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(CHIBIOS)/os/various/evtimer.c \ - $(CHIBIOS)/os/hal/lib/streams/memstreams.c \ - $(CHIBIOS)/os/hal/lib/streams/chprintf.c \ +SRC = $(PORTSRC) \ + $(KERNSRC) \ + $(TESTSRC) \ + $(HALSRC) \ + $(OSALSRC) \ + $(PLATFORMSRC) \ + $(BOARDSRC) \ + $(CHIBIOS)/os/various/evtimer.c \ + $(CHIBIOS)/os/hal/lib/streams/memstreams.c \ + $(CHIBIOS)/os/hal/lib/streams/chprintf.c \ main.c # List C++ source files here. (C dependencies are automatically generated.) diff --git a/testhal/AVR/PWM/Makefile b/testhal/AVR/PWM/Makefile index b1b164e80..54baefdaa 100644 --- a/testhal/AVR/PWM/Makefile +++ b/testhal/AVR/PWM/Makefile @@ -60,20 +60,20 @@ OBJDIR = . CHIBIOS = ../../.. include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk -include $(CHIBIOS)/os/hal/ports/AVR/platform.mk +include $(CHIBIOS)/os/hal/ports/AVR/MEGA/platform.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk include $(CHIBIOS)/os/hal/lib/streams/streams.mk # List C source files here. (C dependencies are automatically generated.) -SRC = $(KERNSRC) \ - $(PORTSRC) \ - $(OSALSRC) \ - $(HALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(STREAMSSRC) \ +SRC = $(KERNSRC) \ + $(PORTSRC) \ + $(OSALSRC) \ + $(HALSRC) \ + $(PLATFORMSRC) \ + $(BOARDSRC) \ + $(STREAMSSRC) \ $(CHIBIOS)/os/various/evtimer.c \ main.c diff --git a/testhal/AVR/SPI/Makefile b/testhal/AVR/SPI/Makefile index 45f690430..b13d75b57 100644 --- a/testhal/AVR/SPI/Makefile +++ b/testhal/AVR/SPI/Makefile @@ -60,20 +60,20 @@ OBJDIR = . CHIBIOS = ../../.. include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/boards/ARDUINO_UNO/board.mk -include $(CHIBIOS)/os/hal/ports/AVR/platform.mk +include $(CHIBIOS)/os/hal/ports/AVR/MEGA/platform.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk include $(CHIBIOS)/os/hal/lib/streams/streams.mk # List C source files here. (C dependencies are automatically generated.) -SRC = $(KERNSRC) \ - $(PORTSRC) \ - $(OSALSRC) \ - $(HALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(STREAMSSRC) \ +SRC = $(KERNSRC) \ + $(PORTSRC) \ + $(OSALSRC) \ + $(HALSRC) \ + $(PLATFORMSRC) \ + $(BOARDSRC) \ + $(STREAMSSRC) \ $(CHIBIOS)/os/various/evtimer.c \ main.c -- cgit v1.2.3