aboutsummaryrefslogtreecommitdiffstats
path: root/sw/Makefile
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-17 16:48:37 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-17 16:48:37 +0100
commitbc8dbcc505b805cbbce07971afe87727e7dd522a (patch)
tree6cebf02634395b9d2baedc9722530e6fbb1449aa /sw/Makefile
parent6bca5e6a1ca991bf1435eb3eefaf4d92cd61361a (diff)
downloadglutte-batteries-bc8dbcc505b805cbbce07971afe87727e7dd522a.tar.gz
glutte-batteries-bc8dbcc505b805cbbce07971afe87727e7dd522a.tar.bz2
glutte-batteries-bc8dbcc505b805cbbce07971afe87727e7dd522a.zip
Fix fuse settings to use crystal, not ext clock
Diffstat (limited to 'sw/Makefile')
-rw-r--r--sw/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/Makefile b/sw/Makefile
index 0b76729..259583d 100644
--- a/sw/Makefile
+++ b/sw/Makefile
@@ -122,10 +122,13 @@ program: $(APP_HEX)
$(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
+ $(AVRDUDE) $(AVRDUDE_FLAGS) -c $(PROG) -P $(AVRDUDE_DEV) -p $(AVRDUDE_PART) -U lfuse:w:0x7e:m -U hfuse:w:0xd9:m -U efuse:w:0xfc:m -v
interactive:
$(AVRDUDE) $(AVRDUDE_FLAGS) -c $(PROG) -P $(AVRDUDE_DEV) -p $(AVRDUDE_PART) -t -v
+help:
+ @echo "targets: all, program, fuse, interactive"
+
doxygen:
doxygen ./Doxyfile