Isolate the bus frobbing parts and the delays into a separate header.
This means the user only has to edit a single file to suit their
situation and allows the code to work with active drive systems as
well as passive pullups (ie 1 vs 2 IO pins)
author |
darius |
date |
Sun, 23 Apr 2006 22:57:16 +0930 |
parents |
2b0ed085b95b |
children |
e40e919721b0 |
rev |
line source |
14
|
1 #
|
|
2 # $Id$
|
|
3 #
|
0
|
4
|
14
|
5 PROG= testavr
|
24
|
6 SRCS= 1wire.c testavr.c usb.c
|
14
|
7
|
24
|
8 MCU= atmega32
|
|
9 PART= m32
|
|
10 CFLAGS+=-O2 -g -Wall -Wunreachable-code
|
|
11 CFLAGS+=-DF_CPU=16000000
|
|
12 #CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra
|
2
|
13 .include "Makefile.avr"
|