Mercurial > templog
comparison Makefile @ 111:cdb26addf4f2 tilt
Add bma180 code, untested
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 19 Sep 2012 22:40:49 +0800 |
parents | 2ba9065e7c4f |
children |
comparison
equal
deleted
inserted
replaced
106:5c8404549cc0 | 111:cdb26addf4f2 |
---|---|
20 DEVICE = atmega328 | 20 DEVICE = atmega328 |
21 PROGDEVICE = atmega328p | 21 PROGDEVICE = atmega328p |
22 CLOCK = 2000000 | 22 CLOCK = 2000000 |
23 PROGRAMMER = #-c stk500v2 -P avrdoper | 23 PROGRAMMER = #-c stk500v2 -P avrdoper |
24 PROGRAMMER = -c stk500 -P ~/dev/stk500 -p $(PROGDEVICE) -B 2 | 24 PROGRAMMER = -c stk500 -P ~/dev/stk500 -p $(PROGDEVICE) -B 2 |
25 SOURCE_1WIRE = onewire.c simple_ds18b20.c crc8.c | 25 SOURCE_1WIRE = onewire.c simple_ds18b20.c crc8.c bma180.c |
26 SOURCE = main.c | 26 SOURCE = main.c |
27 SOURCE += $(SOURCE_1WIRE) | 27 SOURCE += $(SOURCE_1WIRE) |
28 LIBS = -lm | 28 LIBS = -lm |
29 | 29 |
30 # default but 2mhz | 30 # default but 2mhz |