diff options
author | David Lamparter <equinox@diac24.net> | 2015-01-09 05:15:12 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2015-01-09 05:15:12 +0100 |
commit | 044992da8316bdb34b41745c390d7d61339da32a (patch) | |
tree | 61f5d4b781e6c6d8a22c0eac86dd9be3e6b6239b /Makefile | |
parent | 4ec7bc619f3b4af419ba4b2cc6115852ad854c30 (diff) |
lightctrl_v2: rewritten light control AVR
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |