summaryrefslogtreecommitdiffstats
path: root/firmware/compile-win.bat
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/compile-win.bat')
-rw-r--r--firmware/compile-win.bat24
1 files changed, 24 insertions, 0 deletions
diff --git a/firmware/compile-win.bat b/firmware/compile-win.bat
new file mode 100644
index 0000000..97029ee
--- /dev/null
+++ b/firmware/compile-win.bat
@@ -0,0 +1,24 @@
+@echo off
+
+echo ************************************************************
+echo ************************************************************
+echo INFO: If make.exe, avr-gcc.exe or other tools are not found,
+echo please make sure the AVR GCC toolchain is in your PATH
+echo environment variable.
+echo ************************************************************
+echo ************************************************************
+
+
+rem Some bad guesses for toolchain paths...
+set "PATH=%PATH%;%PROGRAMFILES%\Atmel\AVR Tools\AVR Toolchain\bin"
+set "PATH=%PATH%;%PROGRAMFILES%\Atmel\Atmel Studio 6.1\shellUtils"
+set "PATH=%PATH%;%PROGRAMFILES%\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.1002\avr8-gnu-toolchain\bin"
+
+
+echo Cleaning source tree...
+make.exe distclean V=1 BINEXT=.exe NODEPS=1
+
+echo Compiling...
+make.exe V=1 BINEXT=.exe NODEPS=1
+
+pause
bues.ch cgit interface