comparison Makefile @ 308:e36ee3e156c1

switch to atmega328
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 May 2012 22:34:58 +0800
parents 848b0fe159d2
children 888be1b234b6
comparison
equal deleted inserted replaced
307:e50091063890 308:e36ee3e156c1
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!):