summaryrefslogtreecommitdiff
path: root/include.mk
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-05-20 14:57:00 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-05-20 14:57:00 +0000
commitfbd423f20cdd271268b1f27e82f168d5e4a435f1 (patch)
treea9d7eae2afd567089f81b6f31114b096ea33de27 /include.mk
parentgracefully ignore nonexisting or nonexecutable reset_func (diff)
added support for arduinoNG
git-svn-id: https://svn.spreadspace.org/avr/trunk@19 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'include.mk')
-rw-r--r--include.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/include.mk b/include.mk
index 8542449..ed329b6 100644
--- a/include.mk
+++ b/include.mk
@@ -3,7 +3,7 @@
##
##
## Copyright (C) 2012 Christian Pointner <equinox@spreadspace.org>
-##
+##
## This file is part of spreadspace avr utils.
##
## spreadspace avr utils is free software: you can redistribute it and/or modify
@@ -53,6 +53,14 @@ UPLOAD_RATE := 19200
PROG_TYPE := stk500v1
AVRDUDE_PORT := /dev/ttyUSB0
endif
+ifeq ($(BOARD_TYPE),arduinoNG)
+MCU := atmega8
+F_CPU := 16000000
+PROG := avrdude
+UPLOAD_RATE := 19200
+PROG_TYPE := stk500v1
+AVRDUDE_PORT := /dev/ttyUSB0
+endif
CC = avr-gcc
OBJCOPY = avr-objcopy