diff Makefile @ 41:5898fba6593c

Add temperature control. - Split out console stuff to cons.[ch]. Set up stdio so we can use printf etc. - Use \r\n as the line terminator consistently. - Add OWGetTemp to get temperatures from a device. - Load/save settings in EEPROM, defaults loaded from flash. Nearly feature complete except you can't edit ROM IDs without a programming tool :) (To be fixed) Needs more testing.
author darius@inchoate.localdomain
date Sun, 06 Jul 2008 22:19:53 +0930
parents 599d013ce3f2
children 50fca9562310
line wrap: on
line diff
--- a/Makefile	Thu Nov 22 16:02:40 2007 +0000
+++ b/Makefile	Sun Jul 06 22:19:53 2008 +0930
@@ -3,7 +3,7 @@
 #
 
 PROG=	testavr
-SRCS=	1wire.c testavr.c 
+SRCS=	1wire.c cons.c tempctrl.c testavr.c
 .if defined(WITHUSB)
 SRCS+=	usb.c
 CFLAGS+=-DWITHUSB
@@ -16,10 +16,12 @@
 CFLAGS+=-DF_CPU=16000000
 #CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra
 
-#PROGTYPE=stk500v2
-#PROGPORT=/dev/cuaU0
-PROGTYPE=alf
-PROGPORT=/dev/ppi0
+#CFLAGS+=-DOW_DEBUG
+
+#PROGTYPE=alf
+#PROGPORT=/dev/ppi0
+PROGTYPE=dragon_jtag
+PROGPORT=usb
 PROGOPTS=-p ${PART} -c ${PROGTYPE} -E vcc,noreset -q -P ${PROGPORT}
 
 .include "Makefile.avr"