diff Makefile @ 24:2b0ed085b95b

- Change to 38400 baud. - Change to ATMega32 - Use interrupt driven serial comms (for rx anyway) - Reformat.
author darius
date Mon, 12 Dec 2005 23:37:16 +1030
parents 108a703c39e6
children e40e919721b0
line wrap: on
line diff
--- a/Makefile	Mon Dec 12 23:32:59 2005 +1030
+++ b/Makefile	Mon Dec 12 23:37:16 2005 +1030
@@ -3,10 +3,11 @@
 #
 
 PROG=	testavr
-SRCS=	1wire.c testavr.c
+SRCS=	1wire.c testavr.c usb.c
 
-MCU=	at90s8515
-CFLAGS+=-Os -g -Wall -fno-inline-functions -fno-inline 
-CFLAGS+=-DXTAL_CPU=4000000
-
+MCU=	atmega32
+PART=	m32
+CFLAGS+=-O2 -g -Wall -Wunreachable-code
+CFLAGS+=-DF_CPU=16000000
+#CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra
 .include "Makefile.avr"