aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/atmega168/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bootloaders/atmega168/Makefile')
-rwxr-xr-xbootloaders/atmega168/Makefile7
1 files changed, 7 insertions, 0 deletions
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)