view Makefile @ 39:599d013ce3f2

Use parallel programmer.
author darius
date Fri, 23 Nov 2007 12:02:22 +1030
parents e40e919721b0
children 5898fba6593c
line wrap: on
line source

#
# $Id$
#

PROG=	testavr
SRCS=	1wire.c testavr.c 
.if defined(WITHUSB)
SRCS+=	usb.c
CFLAGS+=-DWITHUSB
.endif

MCU=	atmega32
PART=	m32
CFLAGS+=-O2 -Wall -gdwarf-2
#CFLAGS+=-Wunreachable-code
CFLAGS+=-DF_CPU=16000000
#CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra

#PROGTYPE=stk500v2
#PROGPORT=/dev/cuaU0
PROGTYPE=alf
PROGPORT=/dev/ppi0
PROGOPTS=-p ${PART} -c ${PROGTYPE} -E vcc,noreset -q -P ${PROGPORT}

.include "Makefile.avr"