aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR/RT-ARDUINO-MEGA/Makefile
diff options
context:
space:
mode:
authorTheodore Ateba <tf.ateba@gmail.com>2017-07-14 00:39:53 +0000
committerTheodore Ateba <tf.ateba@gmail.com>2017-07-14 00:39:53 +0000
commitc1abc1e06fb61c5b6c9bd6e89815570fde0fdec8 (patch)
tree77598c6098fc104955585058b7eb59fe696f70ca /demos/AVR/RT-ARDUINO-MEGA/Makefile
parent655eadd2551098ea703ff84e0907f8ac2cfea5b5 (diff)
downloadChibiOS-c1abc1e06fb61c5b6c9bd6e89815570fde0fdec8.tar.gz
ChibiOS-c1abc1e06fb61c5b6c9bd6e89815570fde0fdec8.tar.bz2
ChibiOS-c1abc1e06fb61c5b6c9bd6e89815570fde0fdec8.zip
Update AVR demos Makefiles according the new structure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10327 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR/RT-ARDUINO-MEGA/Makefile')
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/demos/AVR/RT-ARDUINO-MEGA/Makefile b/demos/AVR/RT-ARDUINO-MEGA/Makefile
index 8e918ccdd..72a042845 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/Makefile
+++ b/demos/AVR/RT-ARDUINO-MEGA/Makefile
@@ -40,7 +40,7 @@
#----------------------------------------------------------------------------
# MCU name
-MCU = atmega1280
+MCU = atmega2560
# Processor frequency.
F_CPU = 16000000
@@ -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)/test/rt/test.mk
# List C source files here. (C dependencies are automatically generated.)
-SRC = $(KERNSRC) \
- $(PORTSRC) \
- $(OSALSRC) \
- $(HALSRC) \
- $(PLATFORMSRC) \
- $(BOARDSRC) \
- $(TESTSRC) \
+SRC = $(KERNSRC) \
+ $(PORTSRC) \
+ $(OSALSRC) \
+ $(HALSRC) \
+ $(PLATFORMSRC) \
+ $(BOARDSRC) \
+ $(TESTSRC) \
$(CHIBIOS)/os/various/evtimer.c \
main.c