summaryrefslogtreecommitdiffstats
path: root/firmware/compile-win.bat
blob: 97029eeb4411c18881251da625bbbf089ed734c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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