Subversion Repositories group.electronics

Rev

Rev 84 | Rev 86 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 84 Rev 85
Line 5... Line 5...
5
# Tabsize: 4
5
# Tabsize: 4
6
# Copyright: (c) 2007 by OBJECTIVE DEVELOPMENT Software GmbH
6
# Copyright: (c) 2007 by OBJECTIVE DEVELOPMENT Software GmbH
7
# License: GPLv2.
7
# License: GPLv2.
8
# This Revision: $Id$
8
# This Revision: $Id$
9
 
9
 
10
DEVICE=attiny4313
10
DEVICE=atmega168
11
AVRDUDE = avrdude -c avrispmkii -P usb -p $(DEVICE)
11
AVRDUDE = avrdude -c avrispmkii -P usb -p $(DEVICE)
12
# The two lines above are for "avrdude" and the STK500 programmer connected
12
# The two lines above are for "avrdude" and the STK500 programmer connected
13
# to an USB to serial converter to a Mac running Mac OS X.
13
# to an USB to serial converter to a Mac running Mac OS X.
14
# Choose your favorite programmer and interface.
14
# Choose your favorite programmer and interface.
15
 
15
 
16
COMPILE = avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=$(DEVICE) -DF_CPU=16500000 -DDEBUG_LEVEL=0
16
COMPILE = avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=$(DEVICE) -DF_CPU=12000000 -DDEBUG_LEVEL=0
17
# NEVER compile the final product with debugging! Any debug output will
17
# NEVER compile the final product with debugging! Any debug output will
18
# distort timing so that the specs can't be met.
18
# distort timing so that the specs can't be met.
19
 
19
 
20
#OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o
20
#OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o
21
OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o  main.o
21
OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o  main.o