view Makefile @ 37:25fa387ef7e9

- Conditionalise USB support. - Add ROM write command (we). - Add command to read the EEPROM status field of a DS2502 (rt). - Add command to dump the EEPROM data of a DS2502 (rr). - Add command to change data direction registers (dd).
author darius
date Tue, 23 Oct 2007 11:03:22 +0930
parents e40e919721b0
children 599d013ce3f2
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

.include "Makefile.avr"