Changed to DFU-Util 0.10
This commit is contained in:
@@ -93,21 +93,21 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step 11: Fetching USB DFU host utility ==="
|
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
|
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||||
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
||||||
read
|
read
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step 12: Unpacking USB DFU host utility ==="
|
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
|
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||||
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
||||||
read
|
read
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step 13: Building and Installing USB DFU host utility ==="
|
echo "=== Step 13: Building and Installing USB DFU host utility ==="
|
||||||
cd dfu-util-0.9/
|
cd dfu-util-0.10/
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
@@ -118,8 +118,8 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Step 14: Removing the downloaded archive and build folder of USB DFU host utility ==="
|
echo "=== Step 14: Removing the downloaded archive and build folder of USB DFU host utility ==="
|
||||||
rm dfu-util-0.9.tar.gz
|
rm dfu-util-0.10.tar.gz
|
||||||
rm -rf dfu-util-0.9
|
rm -rf dfu-util-0.10
|
||||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||||
echo "Step finished."
|
echo "Step finished."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user