From 548a52b4ad9062f683c3d8202f1b5c55a5512b74 Mon Sep 17 00:00:00 2001 From: Michael DM Dryden Date: Tue, 11 Oct 2016 19:35:18 -0400 Subject: [PATCH] Changed avrdude options in makefile to prevent overwriting bootloader. --- DSTAT/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSTAT/Makefile b/DSTAT/Makefile index 617acc5..b1de6e8 100644 --- a/DSTAT/Makefile +++ b/DSTAT/Makefile @@ -487,7 +487,7 @@ rebuilddoc: cleandoc doc program: all flash # Flash µC - flash and disables JTAG -AVRDUDE_FLAGS = -p $(AVRDUDE_DEV) -c $(AVRDUDE_PROG) -P $(AVRDUDE_PORT) -U flash:w:$(TARGET):e -U fuse4:w:0xff:m +AVRDUDE_FLAGS = -p $(AVRDUDE_DEV) -c $(AVRDUDE_PROG) -P $(AVRDUDE_PORT) -U application:w:$(TARGET):e -U fuse4:w:0xff:m flash: $(TARGET) avrdude $(AVRDUDE_FLAGS) -- GitLab