Subversion Repositories FlightCtrl

Rev

Rev 2135 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2135 Rev 2139
Line 1... Line 1...
1
#--------------------------------------------------------------------
1
#--------------------------------------------------------------------
2
# MCU name
2
# MCU name
3
MCU = atmega328
3
MCU = atmega328p
4
F_CPU = 16000000
4
F_CPU = 16000000
5
QUARZ = 16MHZ
5
QUARZ = 16MHZ
Line 6... Line 6...
6
 
6
 
7
#-------------------------------------------------------------------
7
#-------------------------------------------------------------------
Line 140... Line 140...
140
#AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex 
140
#AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex 
141
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex $(FUSE_SETTINGS)
141
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex $(FUSE_SETTINGS)
142
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
142
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
Line 143... Line 143...
143
 
143
 
144
#avrdude -c avrispv2 -P usb -p m32 -U flash:w:blink.hex
144
#avrdude -c avrispv2 -P usb -p m32 -U flash:w:blink.hex
Line 145... Line 145...
145
AVRDUDE_FLAGS = -p $(MCU) -c $(AVRDUDE_PROGRAMMER) -B 1 -F
145
AVRDUDE_FLAGS = -p $(MCU) -c $(AVRDUDE_PROGRAMMER) -B 20 -F
146
 
146
 
147
# Uncomment the following if you want avrdude's erase cycle counter.
147
# Uncomment the following if you want avrdude's erase cycle counter.
148
# Note that this counter needs to be initialized first using -Yn,
148
# Note that this counter needs to be initialized first using -Yn,