aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/atmega168/Makefile
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2008-10-11 19:27:10 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2008-10-11 19:27:10 +0000
commitb7ec38e61a4f92ade80e38744d00311538671179 (patch)
tree5a899c6ec5ad0e3f52fce8db69dd52c15e69b35e /bootloaders/atmega168/Makefile
parent3898f82e7da63ee529eaaecd52f4cc78191319e9 (diff)
* Updating version number to 0013.
* Updating ATmega168 bootloader to work with standard distributions of avrdude (responding to signature requests made with the universal SPI command) and correctly store EEPROM data. Thanks to ladyada. * Changing compilation process to generate .eep file and allow for use of EEMEM directive (although not yet uploading EEPROM data).
Diffstat (limited to 'bootloaders/atmega168/Makefile')
-rwxr-xr-xbootloaders/atmega168/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloaders/atmega168/Makefile b/bootloaders/atmega168/Makefile
index c55cfc9..182ccae 100755
--- a/bootloaders/atmega168/Makefile
+++ b/bootloaders/atmega168/Makefile
@@ -105,11 +105,15 @@ diecimila: TARGET = diecimila
diecimila: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1'
diecimila: $(PROGRAM)_diecimila.hex
diecimila: AVR_FREQ = 16000000L
+diecimila: HFUSE = DD
+diecimila: LFUSE = FF
ng: TARGET = ng
ng: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>1' '-DNUM_LED_FLASHES=3'
ng: $(PROGRAM)_ng.hex
ng: AVR_FREQ = 16000000L
+ng: HFUSE = DD
+ng: LFUSE = FF
isp: $(PROGRAM)_$(TARGET).hex
$(ISPFUSES)