annotate Makefile @ 46:fb272cb82bcb

Add watchdog reset to timer IRQ. Swap heat and cool bits by default. Init to INT32_MIN so we don't get odd behaviour at startup. Print out mode in tc list. Silence compiler warning regarding PROGMEM pointers.
author darius@Inchoate
date Mon, 20 Oct 2008 22:21:21 +1030
parents 5898fba6593c
children 50fca9562310
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
1 #
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
2 # $Id$
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
3 #
0
ffeab3c04e83 Initial revision
darius
parents:
diff changeset
4
14
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
5 PROG= testavr
41
5898fba6593c Add temperature control.
darius@inchoate.localdomain
parents: 39
diff changeset
6 SRCS= 1wire.c cons.c tempctrl.c testavr.c
36
e40e919721b0 Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents: 24
diff changeset
7 .if defined(WITHUSB)
e40e919721b0 Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents: 24
diff changeset
8 SRCS+= usb.c
e40e919721b0 Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents: 24
diff changeset
9 CFLAGS+=-DWITHUSB
e40e919721b0 Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents: 24
diff changeset
10 .endif
14
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
11
24
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
12 MCU= atmega32
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
13 PART= m32
36
e40e919721b0 Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents: 24
diff changeset
14 CFLAGS+=-O2 -Wall -gdwarf-2
e40e919721b0 Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents: 24
diff changeset
15 #CFLAGS+=-Wunreachable-code
24
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
16 CFLAGS+=-DF_CPU=16000000
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
17 #CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra
36
e40e919721b0 Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents: 24
diff changeset
18
41
5898fba6593c Add temperature control.
darius@inchoate.localdomain
parents: 39
diff changeset
19 #CFLAGS+=-DOW_DEBUG
5898fba6593c Add temperature control.
darius@inchoate.localdomain
parents: 39
diff changeset
20
5898fba6593c Add temperature control.
darius@inchoate.localdomain
parents: 39
diff changeset
21 #PROGTYPE=alf
5898fba6593c Add temperature control.
darius@inchoate.localdomain
parents: 39
diff changeset
22 #PROGPORT=/dev/ppi0
5898fba6593c Add temperature control.
darius@inchoate.localdomain
parents: 39
diff changeset
23 PROGTYPE=dragon_jtag
5898fba6593c Add temperature control.
darius@inchoate.localdomain
parents: 39
diff changeset
24 PROGPORT=usb
39
599d013ce3f2 Use parallel programmer.
darius
parents: 36
diff changeset
25 PROGOPTS=-p ${PART} -c ${PROGTYPE} -E vcc,noreset -q -P ${PROGPORT}
599d013ce3f2 Use parallel programmer.
darius
parents: 36
diff changeset
26
2
288d801a47ff Use nicer build framework.
darius
parents: 0
diff changeset
27 .include "Makefile.avr"