Changed to DFU-Util 0.10

This commit is contained in:
Risto
2021-06-05 14:39:42 +02:00
committed by GitHub
parent 493b9aaedc
commit e9ad84e913
+5 -5
View File
@@ -93,21 +93,21 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
fi
echo "=== Step 11: Fetching USB DFU host utility ==="
wget http://dfu-util.sourceforge.net/releases/dfu-util-0.9.tar.gz
wget http://dfu-util.sourceforge.net/releases/dfu-util-0.10.tar.gz
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
read
fi
echo "=== Step 12: Unpacking USB DFU host utility ==="
tar xzvf dfu-util-0.9.tar.gz
tar xzvf dfu-util-0.10.tar.gz
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
read
fi
echo "=== Step 13: Building and Installing USB DFU host utility ==="
cd dfu-util-0.9/
cd dfu-util-0.10/
./configure
make
sudo make install
@@ -118,8 +118,8 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
fi
echo "=== Step 14: Removing the downloaded archive and build folder of USB DFU host utility ==="
rm dfu-util-0.9.tar.gz
rm -rf dfu-util-0.9
rm dfu-util-0.10.tar.gz
rm -rf dfu-util-0.10
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
echo "Step finished."
fi