Subversion Repositories group.electronics

Rev

Rev 7 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 19
Line 3... Line 3...
3
OBJCOPY = avr-objcopy
3
OBJCOPY = avr-objcopy
4
DUDE = avrdude
4
DUDE = avrdude
5
 
5
 
6
# If you are not using ATtiny2313 and the USBtiny programmer, 
6
# If you are not using ATtiny2313 and the USBtiny programmer, 
7
# update the lines below to match your configuration
7
# update the lines below to match your configuration
8
CFLAGS = -Wall -Os -Iusbdrv -I. -mmcu=attiny2313
8
CFLAGS = -Wall -Os -Iusbdrv -I. -mmcu=atmega168a
9
OBJFLAGS = -j .text -j .data -O ihex
9
OBJFLAGS = -j .text -j .data -O ihex
10
DUDEFLAGS = -p attiny2313 -P usb -c avrispmkii -v
10
DUDEFLAGS = -p atmega168a -P usb -c avrispmkii -v
11
 
11
 
12
# Object files for the firmware (usbdrv/oddebug.o not strictly needed I think)
12
# Object files for the firmware (usbdrv/oddebug.o not strictly needed I think)
13
OBJECTS = usbdrv/usbdrv.o usbdrv/oddebug.o usbdrv/usbdrvasm.o main.o
13
OBJECTS = usbdrv/usbdrv.o usbdrv/oddebug.o usbdrv/usbdrvasm.o main.o
14
 
14
 
15
# Command-line client
15
# Command-line client