Skip to content

Commit

Permalink
snek-duino: Remove -F and -V options from avrdude invocations
Browse files Browse the repository at this point in the history
-F means ignore the target device type
-V means don't verify the program load

Both of these might be nice for development, but less useful for
normal usage.

Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed May 4, 2019
1 parent 84ace7f commit b9f4a5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snek-duino/snek-duino-install.in
Expand Up @@ -42,12 +42,12 @@ done

case "$action" in
fuse)
avrdude -F -V -c $ISP -p ATMEGA328P -U lfuse:w:0xff:m -U hfuse:w:0xd7:m -U efuse:w:0xfd:m
avrdude -c $ISP -p ATMEGA328P -U lfuse:w:0xff:m -U hfuse:w:0xd7:m -U efuse:w:0xfd:m
;;
fuseload)
avrdude -F -V -c $ISP -p ATMEGA328P -U lfuse:w:0xff:m -U hfuse:w:0xd7:m -U efuse:w:0xfd:m -U flash:w:"${SNEKDUINO}"
avrdude -c $ISP -p ATMEGA328P -U lfuse:w:0xff:m -U hfuse:w:0xd7:m -U efuse:w:0xfd:m -U flash:w:"${SNEKDUINO}"
;;
load)
avrdude -F -V -c $ISP -p ATMEGA328P -U flash:w:"${SNEKDUINO}"
avrdude -c $ISP -p ATMEGA328P -U flash:w:"${SNEKDUINO}"
;;
esac

0 comments on commit b9f4a5c

Please sign in to comment.