From: Olivier Matz Date: Wed, 20 May 2015 21:35:17 +0000 (+0200) Subject: imuboard/mk: add program_noerase target X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=37c8aeec11b87f1286dd9b6df3e8fbaae73adebf;p=fpv.git imuboard/mk: add program_noerase target --- diff --git a/imuboard/Makefile b/imuboard/Makefile index ad4d255..3f98e29 100644 --- a/imuboard/Makefile +++ b/imuboard/Makefile @@ -39,3 +39,7 @@ CFLAGS += -W -Wall -Werror -include .aversive_conf include $(AVERSIVE_DIR)/mk/aversive_project.mk + +program_noerase: $(TARGET).$(FORMAT_EXTENSION) $(TARGET).eep + echo $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\ + $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\