Mercurial > templog
comparison Makefile @ 2:ab0e30c4b344
switch to atmega328
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 08 May 2012 22:34:58 +0800 |
parents | c8b14b2950b9 |
children | 888be1b234b6 |
comparison
equal
deleted
inserted
replaced
1:1d1897d66b03 | 2:ab0e30c4b344 |
---|---|
15 # add settings like this to your ~/.avrduderc file: | 15 # add settings like this to your ~/.avrduderc file: |
16 # default_programmer = "stk500v2" | 16 # default_programmer = "stk500v2" |
17 # default_serial = "avrdoper" | 17 # default_serial = "avrdoper" |
18 # FUSES ........ Parameters for avrdude to flash the fuses appropriately. | 18 # FUSES ........ Parameters for avrdude to flash the fuses appropriately. |
19 | 19 |
20 DEVICE = atmega8 | 20 DEVICE = atmega328 |
21 CLOCK = 8000000 | 21 CLOCK = 1000000 |
22 PROGRAMMER = #-c stk500v2 -P avrdoper | 22 PROGRAMMER = #-c stk500v2 -P avrdoper |
23 OBJECTS = main.o | 23 OBJECTS = main.o |
24 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x24:m | 24 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x24:m |
25 | 25 |
26 # ATMega8 fuse bits used above (fuse bits for other devices are different!): | 26 # ATMega8 fuse bits used above (fuse bits for other devices are different!): |