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 ad4d255..3f98e29 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) ;\