This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rc2007-soccer/source/ct-Bot/contrib/flash_n_fuse/setfuses.sh
2007-02-11 18:32:03 +00:00

11 lines
No EOL
287 B
Bash

#!/bin/sh
# echo program C't-Bot with avrdude and mySmartUSB
#
# echo Usage: setfuses.sh <filename>
#
if [ $# != 1 ]; then
echo "Usage: setfuses.sh <filename>"
exit 1;
fi
avrdude -p m32 -c avr910 -P /dev/ttyUSB0 -e -u -U lfuse:w:lfuse.hex:i -U hfuse:w:hfuse.hex:i -U lock:w:lock.hex:i