summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Andrews <NoahAndrews@users.noreply.github.com>2016-03-02 12:48:10 -0500
committerNoah Andrews <NoahAndrews@users.noreply.github.com>2016-03-02 12:48:10 -0500
commitc03d10d676ebbeabf838d4cf111567fd122214c5 (patch)
treeaa6fc45bbbb3efe43c98f8e1c645ea4e5198dbc6
parent06de9628be3ba17e1d6753b9af21c7072d4badd9 (diff)
Added logging to setup script
-rw-r--r--setup-environment-win.bat20
1 files changed, 18 insertions, 2 deletions
diff --git a/setup-environment-win.bat b/setup-environment-win.bat
index 1fbd35a69a..91b6c91e39 100644
--- a/setup-environment-win.bat
+++ b/setup-environment-win.bat
@@ -6,20 +6,36 @@ if NOT ["%errorlevel%"]==["0"] (
exit
)
+echo ------------------------------------------
+echo Installing wget and unzip
+echo ------------------------------------------
mingw-get install msys-wget-bin msys-unzip-bin
cd \MinGW\bin
mkdir temp
-cd temp
+cd temp
+echo ------------------------------------------
+echo Installing dfu-programmer.
+echo ------------------------------------------
wget http://iweb.dl.sourceforge.net/project/dfu-programmer/dfu-programmer/0.7.2/dfu-programmer-win-0.7.2.zip
unzip dfu-programmer-win-0.7.2.zip
copy dfu-programmer.exe ..
+echo ------------------------------------------
+echo Downloading driver
+echo ------------------------------------------
wget http://iweb.dl.sourceforge.net/project/libusb-win32/libusb-win32-releases/1.2.6.0/libusb-win32-bin-1.2.6.0.zip
unzip libusb-win32-bin-1.2.6.0.zip
cp libusb-win32-bin-1.2.6.0\bin\x86\libusb0_x86.dll ../libusb0.dll
+echo ------------------------------------------
+echo Installing driver. Accept prompt.
+echo ------------------------------------------
pnputil -i -a dfu-prog-usb-1.2.2\atmel_usb_dfu.inf
cd ..
-rm -rf temp \ No newline at end of file
+rm -rf temp
+
+echo ------------------------------------------
+echo Finished!
+pause \ No newline at end of file