From 044992da8316bdb34b41745c390d7d61339da32a Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 9 Jan 2015 05:15:12 +0100 Subject: lightctrl_v2: rewritten light control AVR --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1f3dcc7..bf5d355 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: flash love -TARGETS=door lightctrl +TARGETS=door lightctrl lightctrl_v2 CFLAGS_OPT=-Os \ -fpredictive-commoning -fmerge-all-constants -fmodulo-sched -fmodulo-sched-allow-regmoves \ @@ -11,6 +11,7 @@ CFLAGS_LD=-Wl,-T,avr4-signature.x CFLAGS_=${CFLAGS_WARN} ${CFLAGS_OPT} ${CFLAGS_LD} ${CFLAGS} MCU_door=48 MCU_lightctrl=88 +MCU_lightctrl_v2=88 AVRDUDE=avrdude love: $(foreach target,$(TARGETS),$(target).elf) @@ -18,8 +19,8 @@ love: $(foreach target,$(TARGETS),$(target).elf) ifdef TARGET flash: ${TARGET}.flash - $(AVRDUDE) -p m$(MCU_$(basename $<)) -c stk500v2 -P avrdoper -y \ - -U eeprom:r:eeprom:r +# $(AVRDUDE) -p m$(MCU_$(basename $<)) -c stk500v2 -P avrdoper -y \ +# -U eeprom:r:eeprom:r $(AVRDUDE) -p m$(MCU_$(basename $<)) -c stk500v2 -P avrdoper -y \ -U flash:w:$< \ -U eeprom:w:eeprom:r -- cgit v1.2.1