From 439c7e2f67454a4fc107f760f9e1c43fda0e9f36 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Thu, 6 Feb 2014 19:09:20 +0100 Subject: Add compile helper for windows Signed-off-by: Michael Buesch --- firmware/compile-win.bat | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 firmware/compile-win.bat 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 -- cgit v1.2.3