aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-11-29 13:18:36 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-11-29 13:18:36 +0100
commit679a15419631545dfd72c2cecb5385f74ecca0d3 (patch)
treeee141a5ee4b66ae8c7b25a9c111719c7df27d9df
parent0b7e48fbfb37560c488fabe64b26e26680a8d35c (diff)
downloadrenard_hb9hi-679a15419631545dfd72c2cecb5385f74ecca0d3.tar.gz
renard_hb9hi-679a15419631545dfd72c2cecb5385f74ecca0d3.tar.bz2
renard_hb9hi-679a15419631545dfd72c2cecb5385f74ecca0d3.zip
Add fuse to makefile
-rw-r--r--src/testapp1/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testapp1/Makefile b/src/testapp1/Makefile
index 5ff4010..98dcc23 100644
--- a/src/testapp1/Makefile
+++ b/src/testapp1/Makefile
@@ -96,6 +96,9 @@ program: $(BUILD_DIR)/$(APP_HEX)
$(SIZE) -C $(BUILD_DIR)/$(APP_ELF)
$(AVRDUDE) $(AVRDUDE_FLAGS) -c $(PROG) -P $(AVRDUDE_DEV) -p $(AVRDUDE_PART) -U flash:w:$(BUILD_DIR)/$(APP_HEX) -v
+fuse:
+ $(AVRDUDE) $(AVRDUDE_FLAGS) -c $(PROG) -P $(AVRDUDE_DEV) -p $(AVRDUDE_PART) -U lfuse:w:0x60:m -U hfuse:w:0xdc:m -U efuse:w:0xff:m -v
+
interactive:
$(AVRDUDE) $(AVRDUDE_FLAGS) -c $(PROG) -P $(AVRDUDE_DEV) -p $(AVRDUDE_PART) -t -v