]> git.droids-corp.org - fpv.git/commitdiff
imuboard/mk: add program_noerase target
authorOlivier Matz <zer0@droids-corp.org>
Wed, 20 May 2015 21:35:17 +0000 (23:35 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Wed, 20 May 2015 22:13:22 +0000 (00:13 +0200)
imuboard/Makefile

index ad4d2559f20530ec96b4c86d6739f947ced3e498..3f98e29694e36aae5511dc0b2057192edcd0efe0 100644 (file)
@@ -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) ;\