mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 22:58:10 +00:00
21 lines
439 B
Batchfile
21 lines
439 B
Batchfile
@echo off
|
|
if "%AVR32_HOME%"=="" (
|
|
echo.
|
|
echo You must install winavr to compile Multi for OrangeTX: https://sourceforge.net/projects/winavr/
|
|
echo.
|
|
pause
|
|
exit /b
|
|
)
|
|
if exist MultiOrange.cpp.orangetx ren *.orangetx *.
|
|
if exist .dep (make clean)
|
|
md .dep
|
|
make
|
|
if exist MultiOrange.hex (
|
|
objcopy -I ihex MultiOrange.hex -O binary MultiOrange.bin
|
|
echo.
|
|
echo Compilation OK.
|
|
echo Use MultiOrange.hex to program your OrangeTX module.
|
|
echo.
|
|
)
|
|
pause
|