Subversion Repositories HomeAutomation

Rev

Rev 356 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 356 Rev 380
Line 37... Line 37...
37
# - F_OSC Define in CFLAGS and AFLAGS
37
# - F_OSC Define in CFLAGS and AFLAGS
38
 
38
 
39
 
39
 
40
# MCU name
40
# MCU name
41
#MCU = atmega32
41
#MCU = atmega32
42
MCU = atmega8
42
#MCU = atmega8
-
 
43
#MCU = atmega88
43
#MCU = atmega16
44
MCU = atmega168
44
 
45
 
45
 
46
 
46
# Main Oscillator Frequency
47
# Main Oscillator Frequency
47
F_CPU = 9216000
-
 
48
##F_OSC = 1000000
48
#F_CPU = 1000000
49
##F_OSC = 1843200
-
 
50
##F_OSC = 2000000
49
F_CPU = 8000000
51
##F_OSC = 3686400
-
 
52
##F_OSC = 4000000
50
#F_CPU = 9216000
53
##F_OSC = 8000000
51
#F_CPU = 16000000
54
##F_OSC = 11059200
-
 
55
##F_OSC = 16000000
52
#F_CPU = 20000000
56
 
53
 
57
# Output format. (can be srec, ihex, binary)
54
# Output format. (can be srec, ihex, binary)
58
FORMAT = ihex
55
FORMAT = ihex
59
 
56
 
60
 
57
 
Line 194... Line 191...
194
# dt006 pavr picoweb pony-stk200 sp12 stk200 stk500
191
# dt006 pavr picoweb pony-stk200 sp12 stk200 stk500
195
#
192
#
196
# Type: avrdude -c ?
193
# Type: avrdude -c ?
197
# to get a full listing.
194
# to get a full listing.
198
#
195
#
199
AVRDUDE_PROGRAMMER = avr910
196
AVRDUDE_PROGRAMMER = avrispv2
200
 
197
 
201
# com1 = serial port. Use lpt1 to connect to parallel port.
198
# com1 = serial port. Use lpt1 to connect to parallel port.
202
AVRDUDE_PORT = /dev/ttyS0    # programmer connected to serial device
199
AVRDUDE_PORT = /dev/ttyUSB0    # programmer connected to serial device
203
AVRDUDE_BAUD = 115200
200
AVRDUDE_BAUD = 115200
204
 
201
 
205
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
202
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
206
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
203
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
207
 
204