From bcbd3a6ef4980682c5b6d83947098bc53b2c855d Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sun, 9 Nov 2008 21:02:20 +0000 Subject: Adding ATmega328 support. --- bootloaders/atmega168/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bootloaders/atmega168/Makefile') diff --git a/bootloaders/atmega168/Makefile b/bootloaders/atmega168/Makefile index 182ccae..884a70c 100755 --- a/bootloaders/atmega168/Makefile +++ b/bootloaders/atmega168/Makefile @@ -115,6 +115,13 @@ ng: AVR_FREQ = 16000000L ng: HFUSE = DD ng: LFUSE = FF +atmega328: TARGET = atmega328 +atmega328: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' +atmega328: $(PROGRAM)_atmega328.hex +atmega328: AVR_FREQ = 16000000L +atmega328: MCU_TARGET = atmega328p +atmega328: LDSECTION = --section-start=.text=0x7800 + isp: $(PROGRAM)_$(TARGET).hex $(ISPFUSES) $(ISPFLASH) -- cgit v1.2.3-18-g5258