Mercurial > pihelp
comparison Makefile @ 1:e23c1b6f6080
few more changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 03 Jun 2013 19:17:36 +0800 |
parents | 8705acff2494 |
children | 0a6cbbb8c2b7 |
comparison
equal
deleted
inserted
replaced
0:8705acff2494 | 1:e23c1b6f6080 |
---|---|
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 |
26 SOURCE_CRYPTO = sha1.c hmac-sha1.c sha1-asm.S | 26 SOURCE_CRYPTO = hmac-sha1.c sha1-asm.S |
27 SOURCE = main.c | 27 SOURCE = main.c |
28 SOURCE += $(SOURCE_1WIRE) $(SOURCE_CRYPTO) | 28 SOURCE += (SOURCE_CRYPTO) |
29 LIBS = -lm | 29 LIBS = -lm |
30 | 30 |
31 # default but 2mhz | 31 # default but 2mhz |
32 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x62:m | 32 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x62:m |
33 | 33 |