aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/atmega168/Makefile
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2008-09-06 22:17:58 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2008-09-06 22:17:58 +0000
commit080d18c6d2b2ec7c0ee8cad53226b5131a9e45dc (patch)
tree5ac0bddd2bceb049b45c8a8c3ba151e2541cee08 /bootloaders/atmega168/Makefile
parent2ed2ee36e7c51f63ecf1391bf62fcd65ad35caa5 (diff)
Incorporating ladyada's watchdog timer changes into the bootloader source, but only compiling them in for the Pro and Pro Mini (since Nathan includes them in the bootloader he burns to the board). Added a WATCHDOG_MODS flag to the Makefile to specify that they should be included. Recompiled the pro .hex file to include them.
Diffstat (limited to 'bootloaders/atmega168/Makefile')
-rwxr-xr-xbootloaders/atmega168/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootloaders/atmega168/Makefile b/bootloaders/atmega168/Makefile
index 6be8dbe..c55cfc9 100755
--- a/bootloaders/atmega168/Makefile
+++ b/bootloaders/atmega168/Makefile
@@ -81,21 +81,21 @@ lilypad_resonator: HFUSE = DD
lilypad_resonator: LFUSE = C6
pro8: TARGET = pro_8MHz
-pro8: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1'
+pro8: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' '-DWATCHDOG_MODS'
pro8: $(PROGRAM)_pro_8MHz.hex
pro8: AVR_FREQ = 8000000L
pro8: HFUSE = DD
pro8: LFUSE = C6
pro16: TARGET = pro_16MHz
-pro16: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1'
+pro16: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' '-DWATCHDOG_MODS'
pro16: $(PROGRAM)_pro_16MHz.hex
pro16: AVR_FREQ = 16000000L
pro16: HFUSE = DD
pro16: LFUSE = C6
pro20: TARGET = pro_20mhz
-pro20: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1'
+pro20: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' '-DWATCHDOG_MODS'
pro20: $(PROGRAM)_pro_20mhz.hex
pro20: AVR_FREQ = 20000000L
pro20: HFUSE = DD