forked from MatrixPilot/MatrixPilot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-all.bat
47 lines (39 loc) · 993 Bytes
/
build-all.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@echo off
mkdir _build >nul 2>&1
pushd _build
mkdir SIL >nul 2>&1
pushd SIL
make -j 8 -f ../../makefile DEVICE=SIL CONFIG=Cessna
popd
@rem mkdir PX4 >nul 2>&1
@rem pushd PX4
@rem make -j 8 -f ../../makefile DEVICE=PX4
@rem popd
mkdir AUAV3-C30 >nul 2>&1
pushd AUAV3-C30
make -j 8 -f ../../makefile DEVICE=AUAV3 TOOLCHAIN=C30
popd
mkdir UDB4-C30 >nul 2>&1
pushd UDB4-C30
make -j 8 -f ../../makefile DEVICE=UDB4 TOOLCHAIN=C30
popd
mkdir UDB5-C30 >nul 2>&1
pushd UDB5-C30
make -j 8 -f ../../makefile DEVICE=UDB5 TOOLCHAIN=C30
popd
mkdir AUAV3-XC16 >nul 2>&1
pushd AUAV3-XC16
make -j 8 -f ../../makefile DEVICE=AUAV3 TOOLCHAIN=XC16
popd
mkdir UDB4-XC16 >nul 2>&1
pushd UDB4-XC16
make -j 8 -f ../../makefile DEVICE=UDB4 TOOLCHAIN=XC16
popd
mkdir UDB5-XC16 >nul 2>&1
pushd UDB5-XC16
make -j 8 -f ../../makefile DEVICE=UDB5 TOOLCHAIN=XC16
popd
popd
@rem dir _build\*.hex _build\*.exe _build\*.map /B /S
dir _build\*.hex _build\*.exe /B /S
pause