diff options
author | Theodore Ateba <tf.ateba@gmail.com> | 2017-07-14 00:40:02 +0000 |
---|---|---|
committer | Theodore Ateba <tf.ateba@gmail.com> | 2017-07-14 00:40:02 +0000 |
commit | 6da6afca5fc97ae2ccebfcb3f460271da2919e9a (patch) | |
tree | a66e9f6a45ce0652f21ec9ac9b4a922d5c8e438b /testhal | |
parent | c1abc1e06fb61c5b6c9bd6e89815570fde0fdec8 (diff) | |
download | ChibiOS-6da6afca5fc97ae2ccebfcb3f460271da2919e9a.tar.gz ChibiOS-6da6afca5fc97ae2ccebfcb3f460271da2919e9a.tar.bz2 ChibiOS-6da6afca5fc97ae2ccebfcb3f460271da2919e9a.zip |
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
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/AVR/ADC/Makefile | 16 | ||||
-rw-r--r-- | testhal/AVR/EXT/Makefile | 16 | ||||
-rw-r--r-- | testhal/AVR/GPT/Makefile | 16 | ||||
-rw-r--r-- | testhal/AVR/I2C/Makefile | 18 | ||||
-rw-r--r-- | testhal/AVR/ICU/Makefile | 24 | ||||
-rw-r--r-- | testhal/AVR/PWM/Makefile | 16 | ||||
-rw-r--r-- | 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
|