aboutsummaryrefslogtreecommitdiff
path: root/bin/flash-tiny85-fuses.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-12-14 09:41:58 -0700
committerSelene ToyKeeper2018-12-14 09:41:58 -0700
commit70edd9bf96ebde998dc96342ac7b24f163fd1773 (patch)
tree02e4de4c0047036035b3098d6b3a7a4df06486f0 /bin/flash-tiny85-fuses.sh
parentAdded FF PL47-219 build target, with the FET ramp multiplied by 0.6666. (diff)
downloadanduril-70edd9bf96ebde998dc96342ac7b24f163fd1773.tar.gz
anduril-70edd9bf96ebde998dc96342ac7b24f163fd1773.tar.bz2
anduril-70edd9bf96ebde998dc96342ac7b24f163fd1773.zip
Enable BOD on attiny85 by default, because it matters on the FW3A and doesn't really hurt other lights.
(on FW3A, it's very difficult to exit momentary mode without BOD enabled)
Diffstat (limited to 'bin/flash-tiny85-fuses.sh')
-rwxr-xr-xbin/flash-tiny85-fuses.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/flash-tiny85-fuses.sh b/bin/flash-tiny85-fuses.sh
index e517b2d..f49049a 100755
--- a/bin/flash-tiny85-fuses.sh
+++ b/bin/flash-tiny85-fuses.sh
@@ -3,6 +3,6 @@
# (everything else disabled)
# Use low fuse 0xD2 for 4ms startup delay,
# or 0xE2 for 64ms (useful on a twisty light)
-avrdude -c usbasp -p t85 -u -U lfuse:w:0xe2:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m
+avrdude -c usbasp -p t85 -u -U lfuse:w:0xe2:m -U hfuse:w:0xde:m -U efuse:w:0xff:m
# http://www.engbedded.com/cgi-bin/fcx.cgi?P_PREV=ATtiny85&P=ATtiny85&M_LOW_0x3F=0x22&M_HIGH_0x07=0x07&M_HIGH_0x20=0x00&B_SPIEN=P&B_SUT0=P&B_CKSEL3=P&B_CKSEL2=P&B_CKSEL0=P&V_LOW=E2&V_HIGH=DF&V_EXTENDED=FF&O_HEX=Apply+values